|
|||||||||
| Home >> All >> org >> apache >> axis >> deployment >> [ wsdd overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.axis.deployment.wsdd
Class WSDDDeployment

java.lang.Objectorg.apache.axis.deployment.wsdd.WSDDConstants
org.apache.axis.deployment.wsdd.WSDDElement
org.apache.axis.deployment.wsdd.WSDDDeployment
- All Implemented Interfaces:
- org.apache.axis.EngineConfiguration, java.io.Serializable, org.apache.axis.WSDDEngineConfiguration, WSDDTypeMappingContainer
- public class WSDDDeployment
- extends WSDDElement
- implements WSDDTypeMappingContainer, org.apache.axis.WSDDEngineConfiguration
- extends WSDDElement
WSDD deployment element
| Field Summary | |
private org.apache.axis.AxisEngine |
engine
|
private WSDDGlobalConfiguration |
globalConfig
|
private java.util.HashMap |
handlers
|
protected static org.apache.commons.logging.Log |
log
|
private java.util.HashMap |
namespaceToServices
Mapping of namespaces -> services |
private java.util.HashMap |
services
|
(package private) org.apache.axis.encoding.TypeMappingRegistry |
tmr
|
private boolean |
tmrDeployed
|
private java.util.HashMap |
transports
|
private java.util.HashMap |
typeMappings
|
| Fields inherited from class org.apache.axis.deployment.wsdd.WSDDElement |
|
| Fields inherited from interface org.apache.axis.EngineConfiguration |
PROPERTY_NAME |
| Constructor Summary | |
WSDDDeployment()
Default constructor |
|
WSDDDeployment(org.w3c.dom.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(org.apache.axis.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. |
private void |
deployMapping(WSDDTypeMapping mapping)
|
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)
|
java.util.Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine |
WSDDDeployment |
getDeployment()
Get the WSDDDeployment for this engine configuration. |
protected javax.xml.namespace.QName |
getElementName()
Return the element name of a particular subclass. |
org.apache.axis.AxisEngine |
getEngine()
|
WSDDGlobalConfiguration |
getGlobalConfiguration()
Get our global configuration |
java.util.Hashtable |
getGlobalOptions()
Returns the global configuration options. |
org.apache.axis.Handler |
getGlobalRequest()
Returns a global request handler. |
org.apache.axis.Handler |
getGlobalResponse()
Returns a global response handler. |
org.apache.axis.Handler |
getHandler(javax.xml.namespace.QName name)
Return an instance of the named handler. |
WSDDHandler[] |
getHandlers()
|
java.util.List |
getRoles()
Get a list of roles that this engine plays globally. |
org.apache.axis.handlers.soap.SOAPService |
getService(javax.xml.namespace.QName name)
Retrieve an instance of the named service. |
org.apache.axis.handlers.soap.SOAPService |
getServiceByNamespaceURI(java.lang.String namespace)
Get a service which has been mapped to a particular namespace. |
WSDDService[] |
getServices()
Return an array of the services in this deployment |
org.apache.axis.Handler |
getTransport(javax.xml.namespace.QName name)
Retrieve an instance of the named transport. |
WSDDTransport[] |
getTransports()
|
org.apache.axis.encoding.TypeMapping |
getTypeMapping(java.lang.String encodingStyle)
|
org.apache.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine. |
WSDDTypeMapping[] |
getTypeMappings()
|
WSDDHandler |
getWSDDHandler(javax.xml.namespace.QName qname)
|
WSDDService |
getWSDDService(javax.xml.namespace.QName qname)
Return the WSDD description for a given named service |
WSDDTransport |
getWSDDTransport(javax.xml.namespace.QName qname)
|
void |
registerNamespaceForService(java.lang.String namespace,
WSDDService service)
Register a particular namepsace which maps to a given WSDDService. |
void |
removeNamespaceMapping(java.lang.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(org.apache.axis.AxisEngine engine)
Read the configuration from an engine, and store it somehow. |
void |
writeToContext(org.apache.axis.encoding.SerializationContext context)
Write this element out to a SerializationContext |
| Methods inherited from class org.apache.axis.deployment.wsdd.WSDDElement |
getChildElement, getChildElements |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
protected static org.apache.commons.logging.Log log
handlers
private java.util.HashMap handlers
services
private java.util.HashMap services
transports
private java.util.HashMap transports
typeMappings
private java.util.HashMap typeMappings
globalConfig
private WSDDGlobalConfiguration globalConfig
namespaceToServices
private java.util.HashMap namespaceToServices
- Mapping of namespaces -> services
engine
private org.apache.axis.AxisEngine engine
tmr
org.apache.axis.encoding.TypeMappingRegistry tmr
tmrDeployed
private boolean tmrDeployed
| Constructor Detail |
WSDDDeployment
public WSDDDeployment()
- Default constructor
WSDDDeployment
public WSDDDeployment(org.w3c.dom.Element e) throws WSDDException
- Create an element in WSDD that wraps an extant DOM element
| Method Detail |
addHandler
protected void addHandler(WSDDHandler handler)
addService
protected void addService(WSDDService service)
addTransport
protected void addTransport(WSDDTransport transport)
deployHandler
public void deployHandler(WSDDHandler handler)
- Put a WSDDHandler into this deployment, replacing any other
WSDDHandler which might already be present with the same QName.
deployTransport
public void deployTransport(WSDDTransport transport)
- Put a WSDDTransport into this deployment, replacing any other
WSDDTransport which might already be present with the same QName.
deployService
public void deployService(WSDDService service)
- Put a WSDDService into this deployment, replacing any other
WSDDService which might already be present with the same QName.
undeployHandler
public void undeployHandler(javax.xml.namespace.QName qname)
- Remove a named handler
undeployService
public void undeployService(javax.xml.namespace.QName qname)
- Remove a named service
undeployTransport
public void undeployTransport(javax.xml.namespace.QName qname)
- Remove a named transport
deployTypeMapping
public void deployTypeMapping(WSDDTypeMapping typeMapping) throws WSDDException
- Specified by:
deployTypeMappingin interfaceWSDDTypeMappingContainer
getElementName
protected javax.xml.namespace.QName getElementName()
- Description copied from class:
WSDDElement - Return the element name of a particular subclass.
- Specified by:
getElementNamein classWSDDElement
deployToRegistry
public void deployToRegistry(WSDDDeployment target) throws org.apache.axis.ConfigurationException
deployMapping
private void deployMapping(WSDDTypeMapping mapping) throws WSDDException
writeToContext
public void writeToContext(org.apache.axis.encoding.SerializationContext context) throws java.io.IOException
- Description copied from class:
WSDDElement - Write this element out to a SerializationContext
- Specified by:
writeToContextin classWSDDElement
getGlobalConfiguration
public WSDDGlobalConfiguration getGlobalConfiguration()
- Get our global configuration
setGlobalConfiguration
public void setGlobalConfiguration(WSDDGlobalConfiguration globalConfig)
getTypeMappings
public WSDDTypeMapping[] getTypeMappings()
getServices
public WSDDService[] getServices()
- Return an array of the services in this deployment
getWSDDService
public WSDDService getWSDDService(javax.xml.namespace.QName qname)
- Return the WSDD description for a given named service
getHandler
public org.apache.axis.Handler getHandler(javax.xml.namespace.QName name) throws org.apache.axis.ConfigurationException
- Return an instance of the named handler.
- Specified by:
getHandlerin interfaceorg.apache.axis.EngineConfiguration
getTransport
public org.apache.axis.Handler getTransport(javax.xml.namespace.QName name) throws org.apache.axis.ConfigurationException
- Retrieve an instance of the named transport.
- Specified by:
getTransportin interfaceorg.apache.axis.EngineConfiguration
getService
public org.apache.axis.handlers.soap.SOAPService getService(javax.xml.namespace.QName name) throws org.apache.axis.ConfigurationException
- Retrieve an instance of the named service.
- Specified by:
getServicein interfaceorg.apache.axis.EngineConfiguration
getServiceByNamespaceURI
public org.apache.axis.handlers.soap.SOAPService getServiceByNamespaceURI(java.lang.String namespace) throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Get a service which has been mapped to a particular namespace.
- Specified by:
getServiceByNamespaceURIin interfaceorg.apache.axis.EngineConfiguration
configureEngine
public void configureEngine(org.apache.axis.AxisEngine engine) throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Configure this AxisEngine using whatever data source we have.
- Specified by:
configureEnginein interfaceorg.apache.axis.EngineConfiguration
writeEngineConfig
public void writeEngineConfig(org.apache.axis.AxisEngine engine) throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Read the configuration from an engine, and store it somehow.
- Specified by:
writeEngineConfigin interfaceorg.apache.axis.EngineConfiguration
getTypeMapping
public org.apache.axis.encoding.TypeMapping getTypeMapping(java.lang.String encodingStyle) throws org.apache.axis.ConfigurationException
getTypeMappingRegistry
public org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry() throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Retrieve the TypeMappingRegistry for this engine.
- Specified by:
getTypeMappingRegistryin interfaceorg.apache.axis.EngineConfiguration
getGlobalRequest
public org.apache.axis.Handler getGlobalRequest() throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Returns a global request handler.
- Specified by:
getGlobalRequestin interfaceorg.apache.axis.EngineConfiguration
getGlobalResponse
public org.apache.axis.Handler getGlobalResponse() throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Returns a global response handler.
- Specified by:
getGlobalResponsein interfaceorg.apache.axis.EngineConfiguration
getGlobalOptions
public java.util.Hashtable getGlobalOptions() throws org.apache.axis.ConfigurationException
- Description copied from interface:
org.apache.axis.EngineConfiguration - Returns the global configuration options.
- Specified by:
getGlobalOptionsin interfaceorg.apache.axis.EngineConfiguration
getRoles
public java.util.List getRoles()
- Description copied from interface:
org.apache.axis.EngineConfiguration - Get a list of roles that this engine plays globally. Services
within the engine configuration may also add additional roles.
- Specified by:
getRolesin interfaceorg.apache.axis.EngineConfiguration
getDeployedServices
public java.util.Iterator getDeployedServices() throws org.apache.axis.ConfigurationException
- Get an enumeration of the services deployed to this engine
- Specified by:
getDeployedServicesin interfaceorg.apache.axis.EngineConfiguration
registerNamespaceForService
public void registerNamespaceForService(java.lang.String namespace, WSDDService service)
- Register a particular namepsace which maps to a given WSDDService.
This will be used for namespace-based dispatching.
removeNamespaceMapping
public void removeNamespaceMapping(java.lang.String namespace)
- Remove a namespace -> WSDDService mapping.
getEngine
public org.apache.axis.AxisEngine getEngine()
getDeployment
public WSDDDeployment getDeployment()
- Description copied from interface:
org.apache.axis.WSDDEngineConfiguration - Get the WSDDDeployment for this engine configuration.
- Specified by:
getDeploymentin interfaceorg.apache.axis.WSDDEngineConfiguration
getHandlers
public WSDDHandler[] getHandlers()
getWSDDHandler
public WSDDHandler getWSDDHandler(javax.xml.namespace.QName qname)
getTransports
public WSDDTransport[] getTransports()
getWSDDTransport
public WSDDTransport getWSDDTransport(javax.xml.namespace.QName qname)
|
|||||||||
| Home >> All >> org >> apache >> axis >> deployment >> [ wsdd overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC