FileDocCategorySizeDatePackage
WebserviceEndpoint.javaAPI DocGlassfish v2 API19908Fri May 04 22:34:40 BST 2007com.sun.enterprise.tools.common.dd

WebserviceEndpoint

public class WebserviceEndpoint extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class WebserviceEndpoint matches the schema element webservice-endpoint. Hand Modified on August 8, 2006 to support MessageSecurityBinding - to avoid regenerating all the schema2beans. The generated files - Message.java, MessageSecurityBinding.java, JavaMethod.java and MethodParams.java are added to this directory. These files are required by MessageSecurityBinding.java Generated on Wed Aug 13 12:12:27 PDT 2003

Fields Summary
static Vector
comparators
public static final String
PORT_COMPONENT_NAME
public static final String
ENDPOINT_ADDRESS_URI
public static final String
LOGIN_CONFIG
public static final String
MESSAGE_SECURITY_BINDING
public static final String
TRANSPORT_GUARANTEE
public static final String
SERVICE_QNAME
public static final String
TIE_CLASS
public static final String
SERVLET_IMPL_CLASS
Constructors Summary
public WebserviceEndpoint()

	// NOI18N

	  
		this(Common.USE_DEFAULT_VALUES);
	
public WebserviceEndpoint(int options)

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("port-component-name", 	// NOI18N
			PORT_COMPONENT_NAME, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("endpoint-address-uri", 	// NOI18N
			ENDPOINT_ADDRESS_URI, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("login-config", 	// NOI18N
			LOGIN_CONFIG, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			LoginConfig.class);
                this.createProperty("message-security-binding",         // NOI18N
                        MESSAGE_SECURITY_BINDING, Common.SEQUENCE_OR |
                        Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
                        MessageSecurityBinding.class);
		this.createProperty("transport-guarantee", 	// NOI18N
			TRANSPORT_GUARANTEE, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("service-qname", 	// NOI18N
			SERVICE_QNAME, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ServiceQname.class);
		this.createProperty("tie-class", 	// NOI18N
			TIE_CLASS, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("servlet-impl-class", 	// NOI18N
			SERVLET_IMPL_CLASS, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
		str.append(indent);
		str.append("PortComponentName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getPortComponentName();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(PORT_COMPONENT_NAME, 0, str, indent);

		str.append(indent);
		str.append("EndpointAddressUri");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getEndpointAddressUri();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(ENDPOINT_ADDRESS_URI, 0, str, indent);

		str.append(indent);
		str.append("LoginConfig");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getLoginConfig();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(LOGIN_CONFIG, 0, str, indent);

		str.append(indent);
                str.append("MessageSecurityBinding");   // NOI18N
                n = (org.netbeans.modules.schema2beans.BaseBean) this.getMessageSecurityBinding();
                if (n != null)
                        n.dump(str, indent + "\t");     // NOI18N
                else
                        str.append(indent+"\tnull");    // NOI18N
                this.dumpAttributes(MESSAGE_SECURITY_BINDING, 0, str, indent);

                str.append(indent);
		str.append("TransportGuarantee");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getTransportGuarantee();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(TRANSPORT_GUARANTEE, 0, str, indent);

		str.append(indent);
		str.append("ServiceQname");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getServiceQname();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(SERVICE_QNAME, 0, str, indent);

		str.append(indent);
		str.append("TieClass");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getTieClass();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(TIE_CLASS, 0, str, indent);

		str.append(indent);
		str.append("ServletImplClass");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getServletImplClass();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(SERVLET_IMPL_CLASS, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("WebserviceEndpoint\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetEndpointAddressUri()

		return (String)this.getValue(ENDPOINT_ADDRESS_URI);
	
public LoginConfiggetLoginConfig()

		return (LoginConfig)this.getValue(LOGIN_CONFIG);
	
public MessageSecurityBindinggetMessageSecurityBinding()

                return (MessageSecurityBinding)this.getValue(MESSAGE_SECURITY_BINDING);
        
public java.lang.StringgetPortComponentName()

		return (String)this.getValue(PORT_COMPONENT_NAME);
	
public ServiceQnamegetServiceQname()

		return (ServiceQname)this.getValue(SERVICE_QNAME);
	
public java.lang.StringgetServletImplClass()

		return (String)this.getValue(SERVLET_IMPL_CLASS);
	
public java.lang.StringgetTieClass()

		return (String)this.getValue(TIE_CLASS);
	
public java.lang.StringgetTransportGuarantee()

		return (String)this.getValue(TRANSPORT_GUARANTEE);
	
voidinitialize(int options)

					
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetEndpointAddressUri(java.lang.String value)

		this.setValue(ENDPOINT_ADDRESS_URI, value);
	
public voidsetLoginConfig(LoginConfig value)

		this.setValue(LOGIN_CONFIG, value);
                if (value != null) {
                        // It's a mutually exclusive property.
                        setMessageSecurityBinding(null);
                }
	
public voidsetMessageSecurityBinding(MessageSecurityBinding value)

                this.setValue(MESSAGE_SECURITY_BINDING, value);
                if (value != null) {
                        // It's a mutually exclusive property.
                        setLoginConfig(null);
                }
        
public voidsetPortComponentName(java.lang.String value)

		this.setValue(PORT_COMPONENT_NAME, value);
	
public voidsetServiceQname(ServiceQname value)

		this.setValue(SERVICE_QNAME, value);
	
public voidsetServletImplClass(java.lang.String value)

		this.setValue(SERVLET_IMPL_CLASS, value);
	
public voidsetTieClass(java.lang.String value)

		this.setValue(TIE_CLASS, value);
	
public voidsetTransportGuarantee(java.lang.String value)

		this.setValue(TRANSPORT_GUARANTEE, value);
	
public voidvalidate()

		boolean restrictionFailure = false;
		// Validating property portComponentName
		if (getPortComponentName() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getPortComponentName() == null", "portComponentName", this);	// NOI18N
		}
		// Validating property endpointAddressUri
		if (getEndpointAddressUri() != null) {
		}
		// Validating property loginConfig
		if (getLoginConfig() != null) {
			getLoginConfig().validate();
		}
		// Validating property transportGuarantee
		if (getTransportGuarantee() != null) {
		}
		// Validating property serviceQname
		if (getServiceQname() != null) {
			getServiceQname().validate();
		}
		// Validating property tieClass
		if (getTieClass() != null) {
		}
		// Validating property servletImplClass
		if (getServletImplClass() != null) {
		}