org.apache.axis.deployment.wsdd
Class WSDDService
java.lang.Object
|
+--org.apache.axis.deployment.wsdd.WSDDElement
|
+--org.apache.axis.deployment.wsdd.WSDDDeployableItem
|
+--org.apache.axis.deployment.wsdd.WSDDTargetedChain
|
+--org.apache.axis.deployment.wsdd.WSDDService
- All Implemented Interfaces:
- DeployableItem, java.io.Serializable, WSDDTypeMappingContainer
- public class WSDDService
- extends WSDDTargetedChain
- implements WSDDTypeMappingContainer
- See Also:
- Serialized Form
Methods inherited from class org.apache.axis.deployment.wsdd.WSDDDeployableItem |
getInstance, getJavaClass, getParameter, getParametersTable, getQName, getType, removeParameter, setName, setOptionsHashtable, setParameter, setQName, setType, writeParamsToContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL_QNAME
public static final QName WSDL_QNAME
tmr
public TypeMappingRegistry tmr
WSDDService
public WSDDService()
- Default constructor
WSDDService
public WSDDService(org.w3c.dom.Element e)
throws WSDDException
- Parameters:
e
- (Element) XXX- Throws:
WSDDException
- XXX
validateDescriptors
public void validateDescriptors()
- This method can be used for dynamic deployment using new WSDDService()
etc. It validates some standard parameters for some standard providers
(if present). Do this before deployment.deployService().
addTypeMapping
public void addTypeMapping(WSDDTypeMapping mapping)
- Add a WSDDTypeMapping to the Service.
- Parameters:
mapping
-
addOperation
public void addOperation(WSDDOperation operation)
- Add a WSDDOperation to the Service.
- Parameters:
mapping.
-
getElementName
protected QName getElementName()
- Description copied from class:
WSDDElement
- Return the element name of a particular subclass.
- Overrides:
getElementName
in class WSDDElement
getServiceDescriptionURL
public java.lang.String getServiceDescriptionURL()
- Get any service description URL which might be associated with this
service.
- Returns:
- a String containing a URL, or null.
setServiceDescriptionURL
public void setServiceDescriptionURL(java.lang.String sdUrl)
- Set the service description URL for this service.
- Parameters:
sdUrl
- a String containing a URL
getProviderQName
public QName getProviderQName()
setProviderQName
public void setProviderQName(QName providerQName)
getStyle
public int getStyle()
- Get the service style - document or RPC
getServiceDesc
public ServiceDesc getServiceDesc()
setStyle
public void setStyle(int style)
- Set the service style - document or RPC
getFaultFlows
public WSDDFaultFlow[] getFaultFlows()
- Overrides:
getFaultFlows
in class WSDDTargetedChain
- Returns:
- XXX
getNamespaces
public java.util.Vector getNamespaces()
- Obtain the list of namespaces registered for this service
- Returns:
- a Vector of namespaces (Strings) which should dispatch to
this service
getFaultFlow
public WSDDFaultFlow getFaultFlow(QName name)
- Overrides:
getFaultFlow
in class WSDDTargetedChain
- Parameters:
name
- XXX- Returns:
- XXX
makeNewInstance
public Handler makeNewInstance(EngineConfiguration registry)
throws ConfigurationException
- Description copied from class:
WSDDDeployableItem
- Creates a new instance of this deployable. if the
java class is not found, the registry is queried to
find a suitable item
- Overrides:
makeNewInstance
in class WSDDTargetedChain
- Parameters:
registry
- XXX- Returns:
- XXX
- Throws:
ConfigurationException
- XXX
deployTypeMapping
public void deployTypeMapping(WSDDTypeMapping mapping)
throws WSDDException
- Specified by:
deployTypeMapping
in interface WSDDTypeMappingContainer
writeToContext
public void writeToContext(SerializationContext context)
throws java.io.IOException
- Write this element out to a SerializationContext
- Overrides:
writeToContext
in class WSDDElement
setCachedService
public void setCachedService(SOAPService service)
deployToRegistry
public void deployToRegistry(WSDDDeployment registry)
- Overrides:
deployToRegistry
in class WSDDTargetedChain
removeNamespaceMappings
public void removeNamespaceMappings(WSDDDeployment registry)
initTMR
public void initTMR()
throws WSDDException
Copyright © 2001 Apache XML Project. All Rights Reserved.