|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite
org.apache.axis2.jaxws.description.builder.PortComposite
public class PortComposite
This subclass of the DescriptionBuilderComposite will be used to model information specific to a port. The DescriptionBuilderComposite, when used in server-side processing, more or less represents a single web service implementation class. It is possible, and likely, that a single implementation class will serve multiple ports. The PortComposite allows metadata that applies at the port level to be separated from the DescriptionBuilderComposite. This will allow processing and configuring of multiple ports in the description hierarchy from a single DBC object.
Constructor Summary | |
---|---|
PortComposite(DescriptionBuilderComposite baseDBC)
|
Method Summary | |
---|---|
void |
addPortComposite(PortComposite portDBC)
Adds a PortComposite to the generic list. |
BindingTypeAnnot |
getBindingTypeAnnot()
|
JAXWSCatalogManager |
getCatalogManager()
Returns the catalog manager associated with this composite, if any. |
java.lang.ClassLoader |
getClassLoader()
|
java.lang.String[] |
getClassModifiers()
|
java.lang.String |
getClassName()
|
java.util.List<CustomAnnotationInstance> |
getCustomAnnotationInstances()
|
java.util.Map<java.lang.String,CustomAnnotationProcessor> |
getCustomAnnotationProcessors()
|
WsdlGenerator |
getCustomWsdlGenerator()
|
FieldDescriptionComposite |
getFieldDescriptionComposite(java.lang.String fieldName)
|
HandlerChainAnnot |
getHandlerChainAnnot()
|
HandlerChainsType |
getHandlerChainsType()
|
java.util.List<java.lang.String> |
getInterfacesList()
|
java.util.List<MethodDescriptionComposite> |
getMethodDescriptionComposite(java.lang.String methodName)
Returns a collection of all MethodDescriptionComposites that match the specified name |
MethodDescriptionComposite |
getMethodDescriptionComposite(java.lang.String methodName,
int occurence)
Returns the nth occurence of this MethodComposite. |
java.util.List<MethodDescriptionComposite> |
getMethodDescriptionsList()
|
java.util.List<PortComposite> |
getPortComposites()
Gets the generic PortComposite instances. |
javax.xml.namespace.QName |
getPreferredPort()
For a service requester, the QName of the prefered port for this service. |
javax.xml.namespace.QName |
getPreferredPort(java.lang.Object key)
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
ServiceModeAnnot |
getServiceModeAnnot()
|
java.util.Set<javax.xml.namespace.QName> |
getServiceQNames()
Get the set of wsdl:service QNames represented by this DBC's metadata |
SoapBindingAnnot |
getSoapBindingAnnot()
|
java.lang.String |
getSuperClassName()
|
WebServiceAnnot |
getWebServiceAnnot()
|
WebServiceProviderAnnot |
getWebServiceProviderAnnot()
|
javax.wsdl.Definition |
getWsdlDefinition()
|
javax.wsdl.Definition |
getWsdlDefinition(javax.xml.namespace.QName serviceQName)
Retrive a WSDL Definition by a service QName |
java.net.URL |
getWsdlURL(javax.xml.namespace.QName serviceQName)
Retrive a WSDL URL by a service QName |
boolean |
isInterface()
|
boolean |
isMTOMEnabled()
|
void |
setBindingTypeAnnot(BindingTypeAnnot bindingTypeAnnot)
|
void |
setCustomWsdlGenerator(WsdlGenerator wsdlGenerator)
|
void |
setHandlerChainAnnot(HandlerChainAnnot handlerChainAnnot)
|
void |
setHandlerChainsType(HandlerChainsType handlerChainsType)
|
void |
setIsMTOMEnabled(boolean isMTOMEnabled)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
|
void |
setServiceQNames(java.util.Set<javax.xml.namespace.QName> serviceQNames)
Add the set of wsdl:service QNames that are represented by this DBC's metadata |
void |
setWebServiceAnnot(WebServiceAnnot webServiceAnnot)
|
void |
setWebServiceProviderAnnot(WebServiceProviderAnnot webServiceProviderAnnot)
|
void |
setWsdlDefinition(javax.xml.namespace.QName serviceQName,
javax.wsdl.Definition definition)
Store a WSDL Definition keyed by a service QName |
void |
setwsdlURL(javax.xml.namespace.QName serviceQName,
java.net.URL url)
Store a WSDL URL keyed by a service QName |
java.lang.String |
toString()
Convenience method for unit testing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PortComposite(DescriptionBuilderComposite baseDBC)
Method Detail |
---|
public WsdlGenerator getCustomWsdlGenerator()
getCustomWsdlGenerator
in class DescriptionBuilderComposite
public WebServiceAnnot getWebServiceAnnot()
getWebServiceAnnot
in class DescriptionBuilderComposite
public WebServiceProviderAnnot getWebServiceProviderAnnot()
getWebServiceProviderAnnot
in class DescriptionBuilderComposite
public void setCustomWsdlGenerator(WsdlGenerator wsdlGenerator)
setCustomWsdlGenerator
in class DescriptionBuilderComposite
public void setHandlerChainAnnot(HandlerChainAnnot handlerChainAnnot)
setHandlerChainAnnot
in interface TMFAnnotationComposite
setHandlerChainAnnot
in class DescriptionBuilderComposite
handlerChainAnnot
- The handlerChainAnnot to set.public void setHandlerChainsType(HandlerChainsType handlerChainsType)
setHandlerChainsType
in class DescriptionBuilderComposite
public void setIsMTOMEnabled(boolean isMTOMEnabled)
setIsMTOMEnabled
in class DescriptionBuilderComposite
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
setProperties
in class DescriptionBuilderComposite
public void setWebServiceAnnot(WebServiceAnnot webServiceAnnot)
setWebServiceAnnot
in class DescriptionBuilderComposite
public void setWebServiceProviderAnnot(WebServiceProviderAnnot webServiceProviderAnnot)
setWebServiceProviderAnnot
in class DescriptionBuilderComposite
webServiceProviderAnnot
- The webServiceProviderAnnot to set.public BindingTypeAnnot getBindingTypeAnnot()
getBindingTypeAnnot
in class DescriptionBuilderComposite
public HandlerChainAnnot getHandlerChainAnnot()
getHandlerChainAnnot
in class DescriptionBuilderComposite
public HandlerChainsType getHandlerChainsType()
getHandlerChainsType
in class DescriptionBuilderComposite
public boolean isMTOMEnabled()
isMTOMEnabled
in class DescriptionBuilderComposite
public void setBindingTypeAnnot(BindingTypeAnnot bindingTypeAnnot)
setBindingTypeAnnot
in class DescriptionBuilderComposite
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
getProperties
in class DescriptionBuilderComposite
public void addPortComposite(PortComposite portDBC)
DescriptionBuilderComposite
addPortComposite
in class DescriptionBuilderComposite
public java.util.List<PortComposite> getPortComposites()
DescriptionBuilderComposite
getPortComposites
in class DescriptionBuilderComposite
public JAXWSCatalogManager getCatalogManager()
DescriptionBuilderComposite
getCatalogManager
in class DescriptionBuilderComposite
public java.lang.ClassLoader getClassLoader()
getClassLoader
in class DescriptionBuilderComposite
public java.lang.String[] getClassModifiers()
getClassModifiers
in class DescriptionBuilderComposite
public java.lang.String getClassName()
getClassName
in class DescriptionBuilderComposite
public java.util.List<CustomAnnotationInstance> getCustomAnnotationInstances()
getCustomAnnotationInstances
in class DescriptionBuilderComposite
public java.util.Map<java.lang.String,CustomAnnotationProcessor> getCustomAnnotationProcessors()
getCustomAnnotationProcessors
in class DescriptionBuilderComposite
public FieldDescriptionComposite getFieldDescriptionComposite(java.lang.String fieldName)
getFieldDescriptionComposite
in class DescriptionBuilderComposite
public java.util.List<java.lang.String> getInterfacesList()
getInterfacesList
in class DescriptionBuilderComposite
public MethodDescriptionComposite getMethodDescriptionComposite(java.lang.String methodName, int occurence)
DescriptionBuilderComposite
getMethodDescriptionComposite
in class DescriptionBuilderComposite
occurence
- The nth occurance to return; not this is NOT 0 based
public java.util.List<MethodDescriptionComposite> getMethodDescriptionComposite(java.lang.String methodName)
DescriptionBuilderComposite
getMethodDescriptionComposite
in class DescriptionBuilderComposite
public java.util.List<MethodDescriptionComposite> getMethodDescriptionsList()
getMethodDescriptionsList
in class DescriptionBuilderComposite
public javax.xml.namespace.QName getPreferredPort()
DescriptionBuilderComposite
getPreferredPort
in class DescriptionBuilderComposite
public javax.xml.namespace.QName getPreferredPort(java.lang.Object key)
getPreferredPort
in class DescriptionBuilderComposite
public ServiceModeAnnot getServiceModeAnnot()
getServiceModeAnnot
in class DescriptionBuilderComposite
public SoapBindingAnnot getSoapBindingAnnot()
getSoapBindingAnnot
in class DescriptionBuilderComposite
public java.lang.String getSuperClassName()
getSuperClassName
in class DescriptionBuilderComposite
public boolean isInterface()
isInterface
in class DescriptionBuilderComposite
public javax.wsdl.Definition getWsdlDefinition()
getWsdlDefinition
in class DescriptionBuilderComposite
public java.util.Set<javax.xml.namespace.QName> getServiceQNames()
DescriptionBuilderComposite
getServiceQNames
in class DescriptionBuilderComposite
public javax.wsdl.Definition getWsdlDefinition(javax.xml.namespace.QName serviceQName)
DescriptionBuilderComposite
getWsdlDefinition
in class DescriptionBuilderComposite
public void setServiceQNames(java.util.Set<javax.xml.namespace.QName> serviceQNames)
DescriptionBuilderComposite
setServiceQNames
in class DescriptionBuilderComposite
public void setWsdlDefinition(javax.xml.namespace.QName serviceQName, javax.wsdl.Definition definition)
DescriptionBuilderComposite
setWsdlDefinition
in class DescriptionBuilderComposite
public void setwsdlURL(javax.xml.namespace.QName serviceQName, java.net.URL url)
DescriptionBuilderComposite
setwsdlURL
in class DescriptionBuilderComposite
public java.net.URL getWsdlURL(javax.xml.namespace.QName serviceQName)
DescriptionBuilderComposite
getWsdlURL
in class DescriptionBuilderComposite
public java.lang.String toString()
DescriptionBuilderComposite
toString
in class DescriptionBuilderComposite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |