|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.deployment.wsdd.WSDDConstants org.apache.axis.deployment.wsdd.WSDDElement org.apache.axis.deployment.wsdd.WSDDDeployment
WSDD deployment element
Field Summary |
Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
Constructor Summary | |
WSDDDeployment()
Default constructor |
|
WSDDDeployment(Element e)
Create an element in WSDD that wraps an extant DOM element |
Method Summary | |
protected void |
addHandler(WSDDHandler handler)
|
protected void |
addService(WSDDService service)
|
protected void |
addTransport(WSDDTransport transport)
|
void |
configureEngine(AxisEngine engine)
Configure this AxisEngine using whatever data source we have. |
void |
deployHandler(WSDDHandler handler)
Put a WSDDHandler into this deployment, replacing any other WSDDHandler which might already be present with the same QName. |
void |
deployService(WSDDService service)
Put a WSDDService into this deployment, replacing any other WSDDService which might already be present with the same QName. |
void |
deployToRegistry(WSDDDeployment target)
|
void |
deployTransport(WSDDTransport transport)
Put a WSDDTransport into this deployment, replacing any other WSDDTransport which might already be present with the same QName. |
void |
deployTypeMapping(WSDDTypeMapping typeMapping)
|
Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine |
WSDDDeployment |
getDeployment()
|
protected javax.xml.namespace.QName |
getElementName()
Return the element name of a particular subclass. |
AxisEngine |
getEngine()
|
WSDDGlobalConfiguration |
getGlobalConfiguration()
Get our global configuration |
Hashtable |
getGlobalOptions()
Returns the global configuration options. |
Handler |
getGlobalRequest()
Returns a global request handler. |
Handler |
getGlobalResponse()
Returns a global response handler. |
Handler |
getHandler(javax.xml.namespace.QName name)
retrieve an instance of the named handler |
SOAPService |
getService(javax.xml.namespace.QName name)
retrieve an instance of the named service |
SOAPService |
getServiceByNamespaceURI(String namespace)
Get a service which has been mapped to a particular namespace |
WSDDService[] |
getServices()
Return an array of the services in this deployment |
Handler |
getTransport(javax.xml.namespace.QName name)
retrieve an instance of the named transport |
TypeMapping |
getTypeMapping(String encodingStyle)
|
TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine |
WSDDTypeMapping[] |
getTypeMappings()
|
WSDDService |
getWSDDService(javax.xml.namespace.QName qname)
Return the WSDD description for a given named service |
void |
registerNamespaceForService(String namespace,
WSDDService service)
Register a particular namepsace which maps to a given WSDDService. |
void |
removeNamespaceMapping(String namespace)
Remove a namespace -> WSDDService mapping. |
void |
setGlobalConfiguration(WSDDGlobalConfiguration globalConfig)
|
void |
undeployHandler(javax.xml.namespace.QName qname)
Remove a named handler |
void |
undeployService(javax.xml.namespace.QName qname)
Remove a named service |
void |
undeployTransport(javax.xml.namespace.QName qname)
Remove a named transport |
void |
writeEngineConfig(AxisEngine engine)
Read the configuration from an engine, and store it somehow. |
void |
writeToContext(SerializationContext context)
Write this element out to a SerializationContext |
Methods inherited from class org.apache.axis.deployment.wsdd.WSDDElement |
getChildElement, getChildElements, getDocumentation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSDDDeployment()
public WSDDDeployment(Element e) throws WSDDException
e
- (Element) XXX
WSDDException
- XXXMethod Detail |
protected void addHandler(WSDDHandler handler)
protected void addService(WSDDService service)
protected void addTransport(WSDDTransport transport)
public void deployHandler(WSDDHandler handler)
handler
- a WSDDHandler to insert in this deploymentpublic void deployTransport(WSDDTransport transport)
transport
- a WSDDTransport to insert in this deploymentpublic void deployService(WSDDService service)
service
- a WSDDHandler to insert in this deploymentpublic void undeployHandler(javax.xml.namespace.QName qname)
qname
- the QName of the handler to removepublic void undeployService(javax.xml.namespace.QName qname)
qname
- the QName of the service to removepublic void undeployTransport(javax.xml.namespace.QName qname)
qname
- the QName of the transport to removepublic void deployTypeMapping(WSDDTypeMapping typeMapping) throws WSDDException
deployTypeMapping
in interface WSDDTypeMappingContainer
WSDDException
protected javax.xml.namespace.QName getElementName()
WSDDElement
getElementName
in class WSDDElement
public void deployToRegistry(WSDDDeployment target) throws ConfigurationException
ConfigurationException
public void writeToContext(SerializationContext context) throws IOException
WSDDElement
writeToContext
in class WSDDElement
IOException
public WSDDGlobalConfiguration getGlobalConfiguration()
public void setGlobalConfiguration(WSDDGlobalConfiguration globalConfig)
public WSDDTypeMapping[] getTypeMappings()
public WSDDService[] getServices()
public WSDDService getWSDDService(javax.xml.namespace.QName qname)
public Handler getHandler(javax.xml.namespace.QName name) throws ConfigurationException
EngineConfiguration
getHandler
in interface EngineConfiguration
name
- XXX
ConfigurationException
- XXXpublic Handler getTransport(javax.xml.namespace.QName name) throws ConfigurationException
EngineConfiguration
getTransport
in interface EngineConfiguration
name
- XXX
ConfigurationException
- XXXpublic SOAPService getService(javax.xml.namespace.QName name) throws ConfigurationException
EngineConfiguration
getService
in interface EngineConfiguration
name
- XXX
ConfigurationException
- XXXpublic SOAPService getServiceByNamespaceURI(String namespace) throws ConfigurationException
EngineConfiguration
getServiceByNamespaceURI
in interface EngineConfiguration
namespace
- a namespace URI
ConfigurationException
public void configureEngine(AxisEngine engine) throws ConfigurationException
EngineConfiguration
configureEngine
in interface EngineConfiguration
engine
- the AxisEngine we'll deploy state to
ConfigurationException
- if there was a problempublic void writeEngineConfig(AxisEngine engine) throws ConfigurationException
EngineConfiguration
writeEngineConfig
in interface EngineConfiguration
engine
- the AxisEngine from which to read state.
ConfigurationException
- if there was a problempublic TypeMapping getTypeMapping(String encodingStyle) throws ConfigurationException
ConfigurationException
public TypeMappingRegistry getTypeMappingRegistry() throws ConfigurationException
EngineConfiguration
getTypeMappingRegistry
in interface EngineConfiguration
ConfigurationException
public Handler getGlobalRequest() throws ConfigurationException
EngineConfiguration
getGlobalRequest
in interface EngineConfiguration
ConfigurationException
public Handler getGlobalResponse() throws ConfigurationException
EngineConfiguration
getGlobalResponse
in interface EngineConfiguration
ConfigurationException
public Hashtable getGlobalOptions() throws ConfigurationException
EngineConfiguration
getGlobalOptions
in interface EngineConfiguration
ConfigurationException
public Iterator getDeployedServices() throws ConfigurationException
getDeployedServices
in interface EngineConfiguration
ConfigurationException
ServiceDesc
public void registerNamespaceForService(String namespace, WSDDService service)
namespace
- a namespace URIservice
- the target WSDDServicepublic void removeNamespaceMapping(String namespace)
namespace
- the namespace URI to unmappublic AxisEngine getEngine()
public WSDDDeployment getDeployment()
getDeployment
in interface WSDDEngineConfiguration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |