|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.description.ServiceDescription
Class ServiceDescription
Field Summary |
Fields inherited from interface org.apache.wsdl.WSDLService |
STYLE_DOC, STYLE_MSG, STYLE_RPC |
Fields inherited from interface org.apache.axis2.description.DescriptionConstants |
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS, SERVICE_CLASS_NAME, STYLE_KEY |
Constructor Summary | |
ServiceDescription()
|
|
ServiceDescription(javax.xml.namespace.QName qName)
Constructor ServiceDescription |
|
ServiceDescription(org.apache.wsdl.impl.WSDLServiceImpl serviceimpl)
Constructor ServiceDescription |
Method Summary | |
void |
addExtensibilityElement(org.apache.wsdl.WSDLExtensibilityElement element)
Adds the ExtensibilityElement to the Extensible Component. |
void |
addExtensibleAttributes(org.apache.wsdl.WSDLExtensibilityAttribute attribute)
Adds the ExtensibilityAttribute as a attrebute of this
Component. |
void |
addMapping(java.lang.String mappingKey,
OperationDescription operation)
To add the was action paramater into has map so that was action based dispatch can support |
void |
addModuleConfig(ModuleConfiguration moduleConfiguration)
Adding module configuration , if there is moduleConfig tag in service |
void |
addModuleOperations(ModuleDescription module,
AxisConfiguration axisConfig)
To add a opeartion to a service if a module requird to do so |
void |
addModuleref(javax.xml.namespace.QName moduleref)
|
void |
addOperation(OperationDescription operation)
Method addOperation |
void |
addParameter(Parameter param)
Method addParameter |
void |
addToEngagModuleList(ModuleDescription moduleName)
|
void |
engageModule(ModuleDescription moduleref,
AxisConfiguration axisConfig)
To ebgage a module it is reuired to use this method |
java.lang.ClassLoader |
getClassLoader()
Method getClassLoader |
java.util.HashMap |
getComponentProperties()
Returns the properties that are specific to this WSDL Component. |
java.lang.Object |
getComponentProperty(java.lang.Object key)
Gets the component property |
java.lang.String |
getContextPath()
Method getContextPath |
org.apache.wsdl.WSDLEndpoint |
getEndpoint(javax.xml.namespace.QName qName)
Endpoint will be retrived by its qName. |
java.util.HashMap |
getEndpoints()
Method getEndpoints |
java.util.Collection |
getEngagedModules()
Method getEngadgedModules |
java.util.List |
getExtensibilityAttributes()
Returns a List of ExtensibleAttributes of this component. |
java.util.List |
getExtensibilityElements()
Returns the Extensibility Elements of the Extensible component; |
Flow |
getFaultInFlow()
Method getFaultInFlow |
Flow |
getFaultOutFlow()
|
java.lang.String |
getFileName()
|
Flow |
getInFlow()
Method getInFlow |
long |
getLastupdate()
|
java.util.Map |
getMetadataBag()
Get access to the metadata bag associated with this component (which contains anything we feel like hanging off it) |
ModuleConfiguration |
getModuleConfig(javax.xml.namespace.QName moduleName)
|
java.util.ArrayList |
getModules()
|
javax.xml.namespace.QName |
getName()
Method getName |
java.lang.String |
getNamespace()
If the Name of the WSDLService is not set a
WSDLProcessingException will be thrown. |
OperationDescription |
getOperation(javax.xml.namespace.QName operationName)
Method getOperation |
OperationDescription |
getOperation(java.lang.String ncName)
|
OperationDescription |
getOperationBySOAPAction(java.lang.String soapAction)
This method will return the operation given particular SOAP Action. |
OperationDescription |
getOperationBySOAPAction(java.lang.String soapAction,
javax.xml.namespace.QName endpoint)
This method will return the operation given the particular endpoing and the particular SOAP Action. |
java.util.HashMap |
getOperations()
Method getOperations |
Flow |
getOutFlow()
Method getOutFlow |
Parameter |
getParameter(java.lang.String name)
Method getParameter |
java.util.ArrayList |
getParameters()
To get all the parameters in a given description |
ServiceGroupDescription |
getParent()
To get the parent (which is AxisConfiguration in this case) |
java.lang.String |
getServiceDescription()
To get the description about the service ty67tyuio |
org.apache.wsdl.WSDLInterface |
getServiceInterface()
Method getServiceInterface |
java.lang.String |
getStyle()
Method getStyle |
Definition |
getWSDLDefinition()
|
boolean |
isParamterLocked(java.lang.String paramterName)
|
void |
printWSDL(java.io.Writer out,
java.lang.String PortURL)
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Method setClassLoader |
void |
setComponentProperties(java.util.HashMap properties)
Sets the properties of the Component if any. |
void |
setComponentProperty(java.lang.Object key,
java.lang.Object obj)
Will set the property keyed with the relavent key |
void |
setContextPath(java.lang.String contextPath)
Method setContextPath |
void |
setEndpoint(org.apache.wsdl.WSDLEndpoint endpoint)
Will add a WSDLEndpoint object to the WOM keyed with qname; |
void |
setEndpoints(java.util.HashMap endpoints)
Method setEndpoints |
void |
setFaultInFlow(Flow faultFlow)
Method setFaultInFlow |
void |
setFaultOutFlow(Flow faultFlow)
Method setFaultInFlow |
void |
setFileName(java.lang.String fileName)
|
void |
setInFlow(Flow inFlow)
Method setInFlow |
void |
setLastupdate()
This method will set the current time as last update time of the service |
void |
setName(javax.xml.namespace.QName name)
Method setName |
void |
setOutFlow(Flow outFlow)
Method setOutFlow |
void |
setParent(ServiceGroupDescription parent)
|
void |
setServiceDescription(java.lang.String serviceDescription)
Set the description about the service |
void |
setServiceInterface(org.apache.wsdl.WSDLInterface serviceInterface)
Method setServiceInterface |
void |
setStyle(java.lang.String style)
Method setStyle |
void |
setWSDLDefinition(Definition difDefinition)
|
ServiceContext |
u(MessageContext msgContext)
This finds the ServiceContext provided that the incomming message that has have some serviceInstanceID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceDescription(org.apache.wsdl.impl.WSDLServiceImpl serviceimpl)
public ServiceDescription()
public ServiceDescription(javax.xml.namespace.QName qName)
qName
- Method Detail |
public void engageModule(ModuleDescription moduleref, AxisConfiguration axisConfig) throws AxisFault
moduleref
-
AxisFault
public void addModuleOperations(ModuleDescription module, AxisConfiguration axisConfig) throws AxisFault
module
-
AxisFault
public void addToEngagModuleList(ModuleDescription moduleName)
public java.util.Collection getEngagedModules()
public OperationDescription getOperation(javax.xml.namespace.QName operationName)
operationName
-
public void addOperation(OperationDescription operation)
operation
- public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader
- public java.lang.ClassLoader getClassLoader()
public void setContextPath(java.lang.String contextPath)
contextPath
- public java.lang.String getContextPath()
public void setStyle(java.lang.String style)
style
- public java.lang.String getStyle()
public void addParameter(Parameter param) throws AxisFault
addParameter
in interface ParameterInclude
param
-
AxisFault
public Parameter getParameter(java.lang.String name)
getParameter
in interface ParameterInclude
name
-
public java.util.ArrayList getParameters()
ParameterInclude
getParameters
in interface ParameterInclude
public Flow getInFlow()
getInFlow
in interface FlowInclude
public void setInFlow(Flow inFlow)
setInFlow
in interface FlowInclude
inFlow
- public Flow getOutFlow()
getOutFlow
in interface FlowInclude
public void setOutFlow(Flow outFlow)
setOutFlow
in interface FlowInclude
outFlow
- public Flow getFaultInFlow()
getFaultInFlow
in interface FlowInclude
public void setFaultInFlow(Flow faultFlow)
setFaultInFlow
in interface FlowInclude
faultFlow
- public Flow getFaultOutFlow()
getFaultOutFlow
in interface FlowInclude
public void setFaultOutFlow(Flow faultFlow)
FlowInclude
setFaultOutFlow
in interface FlowInclude
faultFlow
- public java.util.HashMap getOperations()
public OperationDescription getOperation(java.lang.String ncName)
public OperationDescription getOperationBySOAPAction(java.lang.String soapAction)
soapAction
- SOAP Action defined for the particular Operation
public OperationDescription getOperationBySOAPAction(java.lang.String soapAction, javax.xml.namespace.QName endpoint)
endpoint
- Particular Enpoint in which the bining is defined with the particular SOAP
Action.soapAction
- SOAP Action defined for the particular Operation
public ServiceContext u(MessageContext msgContext)
msgContext
-
public java.lang.String getServiceDescription()
public void setServiceDescription(java.lang.String serviceDescription)
serviceDescription
- public Definition getWSDLDefinition()
public void setWSDLDefinition(Definition difDefinition)
public void printWSDL(java.io.Writer out, java.lang.String PortURL) throws AxisFault
AxisFault
public void setLastupdate()
public long getLastupdate()
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
public java.util.HashMap getEndpoints()
org.apache.wsdl.WSDLService
getEndpoints
in interface org.apache.wsdl.WSDLService
public void setEndpoints(java.util.HashMap endpoints)
org.apache.wsdl.WSDLService
setEndpoints
in interface org.apache.wsdl.WSDLService
endpoints
- public void setEndpoint(org.apache.wsdl.WSDLEndpoint endpoint)
org.apache.wsdl.WSDLService
setEndpoint
in interface org.apache.wsdl.WSDLService
endpoint
- public org.apache.wsdl.WSDLEndpoint getEndpoint(javax.xml.namespace.QName qName)
org.apache.wsdl.WSDLService
getEndpoint
in interface org.apache.wsdl.WSDLService
qName
- qName of the Service
public javax.xml.namespace.QName getName()
org.apache.wsdl.WSDLService
getName
in interface org.apache.wsdl.WSDLService
public void setName(javax.xml.namespace.QName name)
org.apache.wsdl.WSDLService
setName
in interface org.apache.wsdl.WSDLService
name
- public java.lang.String getNamespace()
org.apache.wsdl.WSDLService
WSDLService
is not set a
WSDLProcessingException
will be thrown.
getNamespace
in interface org.apache.wsdl.WSDLService
String
public org.apache.wsdl.WSDLInterface getServiceInterface()
org.apache.wsdl.WSDLService
getServiceInterface
in interface org.apache.wsdl.WSDLService
public void setServiceInterface(org.apache.wsdl.WSDLInterface serviceInterface)
org.apache.wsdl.WSDLService
setServiceInterface
in interface org.apache.wsdl.WSDLService
serviceInterface
- public java.util.HashMap getComponentProperties()
org.apache.wsdl.Component
getComponentProperties
in interface org.apache.wsdl.Component
public void setComponentProperties(java.util.HashMap properties)
org.apache.wsdl.Component
setComponentProperties
in interface org.apache.wsdl.Component
properties
- public void setComponentProperty(java.lang.Object key, java.lang.Object obj)
org.apache.wsdl.Component
setComponentProperty
in interface org.apache.wsdl.Component
key
- Key in the mapobj
- Object to be putpublic java.lang.Object getComponentProperty(java.lang.Object key)
org.apache.wsdl.Component
getComponentProperty
in interface org.apache.wsdl.Component
key
- key for the map search.
public void addExtensibilityElement(org.apache.wsdl.WSDLExtensibilityElement element)
org.apache.wsdl.Component
ExtensibilityElement
to the Extensible Component.
addExtensibilityElement
in interface org.apache.wsdl.Component
element
- public java.util.List getExtensibilityElements()
org.apache.wsdl.Component
getExtensibilityElements
in interface org.apache.wsdl.Component
Element
spublic java.util.List getExtensibilityAttributes()
org.apache.wsdl.Component
List
of ExtensibleAttributes of this component.
getExtensibilityAttributes
in interface org.apache.wsdl.Component
List
public void addExtensibleAttributes(org.apache.wsdl.WSDLExtensibilityAttribute attribute)
org.apache.wsdl.Component
ExtensibilityAttribute
as a attrebute of this
Component.
addExtensibleAttributes
in interface org.apache.wsdl.Component
attribute
- ExtensibilityAttribute
public java.util.Map getMetadataBag()
org.apache.wsdl.Component
getMetadataBag
in interface org.apache.wsdl.Component
public void addMapping(java.lang.String mappingKey, OperationDescription operation)
public ServiceGroupDescription getParent()
AxisConfiguration
public void setParent(ServiceGroupDescription parent)
public boolean isParamterLocked(java.lang.String paramterName)
isParamterLocked
in interface ParameterInclude
public void addModuleConfig(ModuleConfiguration moduleConfiguration)
moduleConfiguration
- public ModuleConfiguration getModuleConfig(javax.xml.namespace.QName moduleName)
public void addModuleref(javax.xml.namespace.QName moduleref)
public java.util.ArrayList getModules()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |