|
||||||||||
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
public class DescriptionBuilderComposite
Constructor Summary | |
---|---|
DescriptionBuilderComposite()
|
|
DescriptionBuilderComposite(ConfigurationContext configContext)
|
Method Summary | |
---|---|
void |
addCustomAnnotationInstance(CustomAnnotationInstance annotation)
|
void |
addCustomAnnotationProcessor(CustomAnnotationProcessor processor)
|
void |
addFieldDescriptionComposite(FieldDescriptionComposite fieldDescription)
|
void |
addMethodDescriptionComposite(MethodDescriptionComposite methodDescription)
|
void |
addPortComposite(PortComposite portDBC)
Adds a PortComposite to the generic list. |
void |
addPortComposite(QName serviceQName,
PortComposite portDBC)
Adds a PortComposite to a list that is keyed by a wsdl:service QName. |
void |
addWebServiceFeature(Annotation a)
|
void |
addWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
|
List<WebServiceRefAnnot> |
getAllWebServiceRefAnnots()
|
BindingTypeAnnot |
getBindingTypeAnnot()
|
JAXWSCatalogManager |
getCatalogManager()
Returns the catalog manager associated with this composite, if any. |
ClassLoader |
getClassLoader()
|
String[] |
getClassModifiers()
|
String |
getClassName()
|
ConfigurationContext |
getConfigurationContext()
|
Class |
getCorrespondingClass()
Returns the corresponding class associated with this composite, if any. |
List<CustomAnnotationInstance> |
getCustomAnnotationInstances()
|
Map<String,CustomAnnotationProcessor> |
getCustomAnnotationProcessors()
|
WsdlGenerator |
getCustomWsdlGenerator()
|
FieldDescriptionComposite |
getFieldDescriptionComposite(String fieldName)
|
HandlerChainAnnot |
getHandlerChainAnnot()
|
HandlerChainsType |
getHandlerChainsType()
|
List<String> |
getInterfacesList()
|
List<MethodDescriptionComposite> |
getMethodDescriptionComposite(String methodName)
Returns a collection of all MethodDescriptionComposites that match the specified name |
MethodDescriptionComposite |
getMethodDescriptionComposite(String methodName,
int occurence)
Returns the nth occurence of this MethodComposite. |
List<MethodDescriptionComposite> |
getMethodDescriptionsList()
|
List<PortComposite> |
getPortComposites()
Gets the generic PortComposite instances. |
List<PortComposite> |
getPortComposites(QName serviceQName)
Gets all the PortComposite instances associated with a particular wsdl:service QName. |
QName |
getPreferredPort()
For a service requester, the QName of the prefered port for this service. |
QName |
getPreferredPort(Object key)
|
Map<String,Object> |
getProperties()
|
ServiceModeAnnot |
getServiceModeAnnot()
|
Set<QName> |
getServiceQNames()
Get the set of wsdl:service QNames represented by this DBC's metadata |
static String |
getServiceRefName(DescriptionBuilderComposite sparseComposite)
Static utility method that, given a sparse composite, returns the SERVICE_REF_NAME value from the property on that sparse composite or null if the property was not specified. |
String |
getServiceRefName(Object serviceDelegateKey)
For the current composite, return the serivce ref name from the sparse composite associted with the service delegate key. |
SoapBindingAnnot |
getSoapBindingAnnot()
|
DescriptionBuilderComposite |
getSparseComposite(Object key)
|
String |
getSuperClassName()
|
WebFaultAnnot |
getWebFaultAnnot()
|
WebServiceAnnot |
getWebServiceAnnot()
|
WebServiceClientAnnot |
getWebServiceClientAnnot()
|
WebServiceClientAnnot |
getWebServiceClientAnnot(Object key)
|
List<Annotation> |
getWebServiceFeatures()
|
WebServiceProviderAnnot |
getWebServiceProviderAnnot()
|
WebServiceRefAnnot |
getWebServiceRefAnnot(String name)
|
javax.wsdl.Definition |
getWsdlDefinition()
|
javax.wsdl.Definition |
getWsdlDefinition(QName serviceQName)
Retrive a WSDL Definition by a service QName |
URL |
getWsdlURL()
|
URL |
getWsdlURL(QName serviceQName)
Retrive a WSDL URL by a service QName |
boolean |
isInterface()
|
boolean |
isMTOMEnabled()
|
boolean |
isMTOMEnabled(Object key)
|
boolean |
isServiceProvider()
Answer does this composite represent a service requester (aka client) or a service provider (aka server). |
void |
setBindingTypeAnnot(BindingTypeAnnot bindingTypeAnnot)
|
void |
setCatalogManager(JAXWSCatalogManager theCatalogManager)
Set the Catalog Manager associated with this composite. |
void |
setClassLoader(ClassLoader classLoader)
|
void |
setClassModifiers(String[] classModifiers)
|
void |
setClassName(String className)
|
void |
setCorrespondingClass(Class theClass)
Set the class associated with this composite. |
void |
setCustomWsdlGenerator(WsdlGenerator wsdlGenerator)
|
void |
setHandlerChainAnnot(HandlerChainAnnot handlerChainAnnot)
|
void |
setHandlerChainsType(HandlerChainsType handlerChainsType)
|
void |
setInterfacesList(List<String> interfacesList)
|
void |
setIsInterface(boolean isInterface)
|
void |
setIsMTOMEnabled(boolean isMTOMEnabled)
|
void |
setIsServiceProvider(boolean value)
Set the indication of whether this composite represents a service requester (aka client) or a service provider (aka server). |
void |
setPreferredPort(QName preferredPort)
For a service requester, set the QName of the preferred port for this service. |
void |
setProperties(Map<String,Object> properties)
|
void |
setServiceModeAnnot(ServiceModeAnnot serviceModeAnnot)
|
void |
setServiceQNames(Set<QName> serviceQNames)
Add the set of wsdl:service QNames that are represented by this DBC's metadata |
void |
setSoapBindingAnnot(SoapBindingAnnot soapBindingAnnot)
|
void |
setSparseComposite(Object key,
DescriptionBuilderComposite sparseComposite)
|
void |
setSuperClassName(String extendsClass)
|
void |
setWebFaultAnnot(WebFaultAnnot webFaultAnnot)
|
void |
setWebServiceAnnot(WebServiceAnnot webServiceAnnot)
|
void |
setWebServiceClientAnnot(WebServiceClientAnnot webServiceClientAnnot)
|
void |
setWebServiceFeatures(List<Annotation> list)
|
void |
setWebServiceProviderAnnot(WebServiceProviderAnnot webServiceProviderAnnot)
|
void |
setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
|
void |
setWsdlDefinition(javax.wsdl.Definition wsdlDef)
|
void |
setWsdlDefinition(QName serviceQName,
javax.wsdl.Definition definition)
Store a WSDL Definition keyed by a service QName |
void |
setwsdlURL(QName serviceQName,
URL url)
Store a WSDL URL keyed by a service QName |
void |
setwsdlURL(URL wsdlURL)
|
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 DescriptionBuilderComposite()
public DescriptionBuilderComposite(ConfigurationContext configContext)
Method Detail |
---|
public void setSparseComposite(Object key, DescriptionBuilderComposite sparseComposite)
public DescriptionBuilderComposite getSparseComposite(Object key)
public void setPreferredPort(QName preferredPort)
preferredPort
- public QName getPreferredPort()
public QName getPreferredPort(Object key)
public void setIsMTOMEnabled(boolean isMTOMEnabled)
public boolean isMTOMEnabled()
public boolean isMTOMEnabled(Object key)
public WebServiceAnnot getWebServiceAnnot()
public String[] getClassModifiers()
public String getClassName()
public String getSuperClassName()
public List<String> getInterfacesList()
public HandlerChainAnnot getHandlerChainAnnot()
public ServiceModeAnnot getServiceModeAnnot()
public SoapBindingAnnot getSoapBindingAnnot()
public WebFaultAnnot getWebFaultAnnot()
public WebServiceClientAnnot getWebServiceClientAnnot()
public WebServiceClientAnnot getWebServiceClientAnnot(Object key)
public WebServiceProviderAnnot getWebServiceProviderAnnot()
public List<WebServiceRefAnnot> getAllWebServiceRefAnnots()
public WebServiceRefAnnot getWebServiceRefAnnot(String name)
public BindingTypeAnnot getBindingTypeAnnot()
public List<Annotation> getWebServiceFeatures()
public void setWebServiceFeatures(List<Annotation> list)
public void addWebServiceFeature(Annotation a)
public javax.wsdl.Definition getWsdlDefinition()
public URL getWsdlURL()
public List<MethodDescriptionComposite> getMethodDescriptionComposite(String methodName)
public MethodDescriptionComposite getMethodDescriptionComposite(String methodName, int occurence)
methodName
- occurence
- The nth occurance to return; not this is NOT 0 based
public List<MethodDescriptionComposite> getMethodDescriptionsList()
public FieldDescriptionComposite getFieldDescriptionComposite(String fieldName)
public WsdlGenerator getCustomWsdlGenerator()
public ClassLoader getClassLoader()
public boolean isInterface()
public void setWebServiceAnnot(WebServiceAnnot webServiceAnnot)
public void setClassModifiers(String[] classModifiers)
classModifiers
- The classModifiers to set.public void setClassName(String className)
className
- The className to set.public void setSuperClassName(String extendsClass)
extendsClass
- The name of the super class to set.public void setInterfacesList(List<String> interfacesList)
interfacesList
- The interfacesList to set.public void setHandlerChainAnnot(HandlerChainAnnot handlerChainAnnot)
setHandlerChainAnnot
in interface TMFAnnotationComposite
handlerChainAnnot
- The handlerChainAnnot to set.public void setServiceModeAnnot(ServiceModeAnnot serviceModeAnnot)
serviceModeAnnot
- The serviceModeAnnot to set.public void setSoapBindingAnnot(SoapBindingAnnot soapBindingAnnot)
setSoapBindingAnnot
in interface TMAnnotationComposite
soapBindingAnnot
- The soapBindingAnnot to set.public void setWebFaultAnnot(WebFaultAnnot webFaultAnnot)
webFaultAnnot
- The webFaultAnnot to set.public void setWebServiceClientAnnot(WebServiceClientAnnot webServiceClientAnnot)
webServiceClientAnnot
- The webServiceClientAnnot to set.public void setWebServiceProviderAnnot(WebServiceProviderAnnot webServiceProviderAnnot)
webServiceProviderAnnot
- The webServiceProviderAnnot to set.public void addWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
webServiceRefAnnot
- The webServiceRefAnnot to add to the list.public void setWebServiceRefAnnot(WebServiceRefAnnot webServiceRefAnnot)
setWebServiceRefAnnot
in interface TMFAnnotationComposite
public void addCustomAnnotationProcessor(CustomAnnotationProcessor processor)
public Map<String,CustomAnnotationProcessor> getCustomAnnotationProcessors()
public void addCustomAnnotationInstance(CustomAnnotationInstance annotation)
public List<CustomAnnotationInstance> getCustomAnnotationInstances()
public void setWsdlDefinition(javax.wsdl.Definition wsdlDef)
wsdlDefinition
- The wsdlDefinition to set.public void setwsdlURL(URL wsdlURL)
wsdlURL
- The wsdlURL to set.public void setBindingTypeAnnot(BindingTypeAnnot bindingTypeAnnot)
BindingTypeAnnot
- The BindingTypeAnnot to set.public void setIsInterface(boolean isInterface)
isInterface
- Sets whether this composite represents a class or interfacepublic void addMethodDescriptionComposite(MethodDescriptionComposite methodDescription)
methodDescription
- The methodDescription to add to the set.public void addFieldDescriptionComposite(FieldDescriptionComposite fieldDescription)
methodDescription
- The methodDescription to add to the set.public void setCustomWsdlGenerator(WsdlGenerator wsdlGenerator)
public void setClassLoader(ClassLoader classLoader)
public HandlerChainsType getHandlerChainsType()
public void setHandlerChainsType(HandlerChainsType handlerChainsType)
public boolean isServiceProvider()
public void setIsServiceProvider(boolean value)
public void setCorrespondingClass(Class theClass)
theClass
- public Class getCorrespondingClass()
public void setCatalogManager(JAXWSCatalogManager theCatalogManager)
theCatalogManger
- public JAXWSCatalogManager getCatalogManager()
public void setProperties(Map<String,Object> properties)
public Map<String,Object> getProperties()
public void setWsdlDefinition(QName serviceQName, javax.wsdl.Definition definition)
public javax.wsdl.Definition getWsdlDefinition(QName serviceQName)
public void setwsdlURL(QName serviceQName, URL url)
public URL getWsdlURL(QName serviceQName)
public void setServiceQNames(Set<QName> serviceQNames)
public Set<QName> getServiceQNames()
public String toString()
toString
in class Object
public ConfigurationContext getConfigurationContext()
public void addPortComposite(PortComposite portDBC)
public void addPortComposite(QName serviceQName, PortComposite portDBC)
public List<PortComposite> getPortComposites()
public List<PortComposite> getPortComposites(QName serviceQName)
public static String getServiceRefName(DescriptionBuilderComposite sparseComposite)
sparseComposite
- The sparse composite instance to get the SERVICE_REF_NAME parameter from
public String getServiceRefName(Object serviceDelegateKey)
serviceDelegateKey
- The instance of the service delegate associated with the sparse composite from which
the service ref name is to be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |