|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.deployment.wsdd.WSDDConstants (src)
org.jboss.axis.deployment.wsdd.WSDDElement (src)
org.jboss.axis.deployment.wsdd.WSDDDeployment (src)
org.jboss.net.axis.Deployment
This subclass represents a wsdd deployment with scoped typemappings and service-specific classloading features. It may also serve as a place to statically register some other jboss-specific implementation classes in the axis package. WSDDDeployment is used by Axis in two respects: Two parse a deployment descriptor and to host the accumulated configuration data. We use that circumstance to build up an additional deployment scope in jboss.net - services are registered in the central registry/engine but still pertain their relation (especially wrt typemapping delegation) to their original deployment. We do that by annotating the scope deployments in the service options. This design is IMHO more clever and needs less overhead than the original approach of mapping services to classloaders. Furthermore, it allows us to introduce some JSR109 related deployment concepts without global effect.
Field Summary | |
protected java.lang.ClassLoader |
deploymentLoader
holds the classloader related to this deployment which is the thread context classloader at creation time |
protected boolean |
tmrCreated
whether our registry has already been built |
protected java.util.List |
typeMappings
these are our local typemappings |
Fields inherited from interface org.jboss.axis.EngineConfiguration (src) |
PROPERTY_NAME |
Constructor Summary | |
protected |
Deployment(org.w3c.dom.Element e,
java.lang.ClassLoader loader)
Constructor for Deployment. |
Method Summary | |
void |
deployService(WSDDService (src) service)
Put a WSDDService into this deployment, replacing any other WSDDService which might already be present with the same QName. |
void |
deployToRegistry(WSDDDeployment (src) arg0)
|
void |
deployTypeMapping(WSDDTypeMapping (src) typeMapping)
overwrite to equip with options |
java.util.Iterator |
getDeployedServices()
Get an enumeration of the services deployed to this engine |
protected static Deployment (src) |
getDeployment(WSDDService (src) service)
return the scoped deployment for this service |
protected java.lang.ClassLoader |
getDeploymentLoader()
return the deployment loader of this deployment |
SOAPService (src) |
getService(QName (src) serviceName)
retrieve an instance of the named service |
SOAPService (src) |
getServiceByNamespaceURI(java.lang.String arg0)
Get a service which has been mapped to a particular namespace |
TypeMappingRegistry (src) |
getTypeMappingRegistry()
Retrieve the TypeMappingRegistry for this engine |
protected void |
installTypeMappingWithOptions(TypeMapping (src) nextMapping)
this helper serves to install typemappings with additional options |
static Deployment (src) |
makeSafeDeployment(org.w3c.dom.Element e,
java.lang.ClassLoader loader)
the safe "constructor" |
Methods inherited from class org.jboss.axis.deployment.wsdd.WSDDDeployment (src) |
addHandler, addService, addTransport, configureEngine, deployHandler, deployTransport, getDeployment, getElementName, getEngine, getGlobalConfiguration, getGlobalOptions, getGlobalRequest, getGlobalResponse, getHandler, getServices, getTransport, getTypeMapping, getTypeMappings, getWSDDService, registerNamespaceForService, removeNamespaceMapping, setGlobalConfiguration, undeployHandler, undeployService, undeployTransport, writeEngineConfig, writeToContext |
Methods inherited from class org.jboss.axis.deployment.wsdd.WSDDElement (src) |
getChildElement, getChildElements, getDocumentation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.ClassLoader deploymentLoader
protected java.util.List typeMappings
protected boolean tmrCreated
Constructor Detail |
protected Deployment(org.w3c.dom.Element e, java.lang.ClassLoader loader) throws WSDDException (src)
Method Detail |
public static Deployment (src) makeSafeDeployment(org.w3c.dom.Element e, java.lang.ClassLoader loader) throws WSDDException (src)
WSDDException (src)
protected java.lang.ClassLoader getDeploymentLoader()
protected static Deployment (src) getDeployment(WSDDService (src) service)
public void deployService(WSDDService (src) service)
WSDDDeployment (src)
deployService
in class WSDDDeployment (src)
service
- a WSDDHandler to insert in this deploymentpublic void deployTypeMapping(WSDDTypeMapping (src) typeMapping) throws WSDDException (src)
deployTypeMapping
in interface WSDDTypeMappingContainer (src)
deployTypeMapping
in class WSDDDeployment (src)
WSDDException (src)
public java.util.Iterator getDeployedServices() throws ConfigurationException (src)
WSDDDeployment (src)
getDeployedServices
in interface EngineConfiguration (src)
getDeployedServices
in class WSDDDeployment (src)
ConfigurationException (src)
public SOAPService (src) getService(QName (src) serviceName) throws ConfigurationException (src)
EngineConfiguration (src)
getService
in interface EngineConfiguration (src)
getService
in class WSDDDeployment (src)
serviceName
- XXX
ConfigurationException (src)
public SOAPService (src) getServiceByNamespaceURI(java.lang.String arg0) throws ConfigurationException (src)
EngineConfiguration (src)
getServiceByNamespaceURI
in interface EngineConfiguration (src)
getServiceByNamespaceURI
in class WSDDDeployment (src)
ConfigurationException (src)
public void deployToRegistry(WSDDDeployment (src) arg0) throws ConfigurationException (src)
deployToRegistry
in class WSDDDeployment (src)
ConfigurationException (src)
public TypeMappingRegistry (src) getTypeMappingRegistry() throws ConfigurationException (src)
EngineConfiguration (src)
getTypeMappingRegistry
in interface EngineConfiguration (src)
getTypeMappingRegistry
in class WSDDDeployment (src)
ConfigurationException (src)
protected void installTypeMappingWithOptions(TypeMapping (src) nextMapping) throws ConfigurationException (src)
ConfigurationException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |