WebserviceEndpointpublic 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 void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(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.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("WebserviceEndpoint\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getEndpointAddressUri()
return (String)this.getValue(ENDPOINT_ADDRESS_URI);
| public LoginConfig | getLoginConfig()
return (LoginConfig)this.getValue(LOGIN_CONFIG);
| public MessageSecurityBinding | getMessageSecurityBinding()
return (MessageSecurityBinding)this.getValue(MESSAGE_SECURITY_BINDING);
| public java.lang.String | getPortComponentName()
return (String)this.getValue(PORT_COMPONENT_NAME);
| public ServiceQname | getServiceQname()
return (ServiceQname)this.getValue(SERVICE_QNAME);
| public java.lang.String | getServletImplClass()
return (String)this.getValue(SERVLET_IMPL_CLASS);
| public java.lang.String | getTieClass()
return (String)this.getValue(TIE_CLASS);
| public java.lang.String | getTransportGuarantee()
return (String)this.getValue(TRANSPORT_GUARANTEE);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setEndpointAddressUri(java.lang.String value)
this.setValue(ENDPOINT_ADDRESS_URI, value);
| public void | setLoginConfig(LoginConfig value)
this.setValue(LOGIN_CONFIG, value);
if (value != null) {
// It's a mutually exclusive property.
setMessageSecurityBinding(null);
}
| public void | setMessageSecurityBinding(MessageSecurityBinding value)
this.setValue(MESSAGE_SECURITY_BINDING, value);
if (value != null) {
// It's a mutually exclusive property.
setLoginConfig(null);
}
| public void | setPortComponentName(java.lang.String value)
this.setValue(PORT_COMPONENT_NAME, value);
| public void | setServiceQname(ServiceQname value)
this.setValue(SERVICE_QNAME, value);
| public void | setServletImplClass(java.lang.String value)
this.setValue(SERVLET_IMPL_CLASS, value);
| public void | setTieClass(java.lang.String value)
this.setValue(TIE_CLASS, value);
| public void | setTransportGuarantee(java.lang.String value)
this.setValue(TRANSPORT_GUARANTEE, value);
| public void | validate()
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) {
}
|
|