|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.deployment.wsdd.WSDDConstants
org.jboss.axis.deployment.wsdd.WSDDElement
org.jboss.axis.deployment.wsdd.WSDDDeployment
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 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 List |
typeMappings
these are our local typemappings |
Fields inherited from class org.jboss.axis.deployment.wsdd.WSDDConstants |
ATTR_ATTACHMENT_FORMAT, ATTR_CLASS, ATTR_CLASSNAME, ATTR_DESERIALIZER, ATTR_ENCSTYLE, ATTR_INHEADER, ATTR_LANG_SPEC_TYPE, ATTR_LOCKED, ATTR_MODE, ATTR_NAME, ATTR_ONEWAY, ATTR_OUTHEADER, ATTR_PIVOT, ATTR_PROVIDER, ATTR_QNAME, ATTR_RETHEADER, ATTR_RETQNAME, ATTR_RETTYPE, ATTR_SERIALIZER, ATTR_SOAPACTORNAME, ATTR_STREAMING, ATTR_STYLE, ATTR_TYPE, ATTR_USE, ATTR_VALUE, BEAN_DESERIALIZER_FACTORY, BEAN_SERIALIZER_FACTORY, ELEM_WSDD_BEANMAPPING, ELEM_WSDD_CHAIN, ELEM_WSDD_DEPLOY, ELEM_WSDD_DOC, ELEM_WSDD_ELEMENTMAPPING, ELEM_WSDD_ENDPOINTURL, ELEM_WSDD_FAULT, ELEM_WSDD_FAULTFLOW, ELEM_WSDD_GLOBAL, ELEM_WSDD_HANDLER, ELEM_WSDD_JAXRPC_CHAIN, ELEM_WSDD_JAXRPC_HANDLERINFO, ELEM_WSDD_JAXRPC_HEADER, ELEM_WSDD_JAXRPC_ROLE, ELEM_WSDD_NAMESPACE, ELEM_WSDD_OPERATION, ELEM_WSDD_PARAM, ELEM_WSDD_REQFLOW, ELEM_WSDD_RESPFLOW, ELEM_WSDD_SERVICE, ELEM_WSDD_TRANSPORT, ELEM_WSDD_TYPEMAPPING, ELEM_WSDD_UNDEPLOY, ELEM_WSDD_WSDLFILE, NS_PREFIX_WSDD, NS_PREFIX_WSDD_JAVA, PROVIDER_BSF, PROVIDER_COM, PROVIDER_CORBA, PROVIDER_EJB, PROVIDER_HANDLER, PROVIDER_MSG, PROVIDER_RMI, PROVIDER_RPC, QNAME_BEANMAPPING, QNAME_BSF_PROVIDER, QNAME_CHAIN, QNAME_COM_PROVIDER, QNAME_CORBA_PROVIDER, QNAME_DEPLOY, QNAME_DOC, QNAME_EJB_PROVIDER, QNAME_ELEMENTMAPPING, QNAME_ENDPOINTURL, QNAME_FAULT, QNAME_FAULTFLOW, QNAME_GLOBAL, QNAME_HANDLER, QNAME_HANDLER_PROVIDER, QNAME_JAVAMSG_PROVIDER, QNAME_JAVARPC_PROVIDER, QNAME_JAXRPC_HANDLERINFO, QNAME_JAXRPC_HANDLERINFOCHAIN, QNAME_JAXRPC_HEADER, QNAME_JAXRPC_ROLE, QNAME_NAMESPACE, QNAME_OPERATION, QNAME_PARAM, QNAME_REQFLOW, QNAME_RESPFLOW, QNAME_RMI_PROVIDER, QNAME_SERVICE, QNAME_TRANSPORT, QNAME_TYPEMAPPING, QNAME_UNDEPLOY, QNAME_WSDLFILE, URI_WSDD, URI_WSDD_HANDLER, URI_WSDD_JAVA, URI_WSDD_WSDD_BSF, URI_WSDD_WSDD_COM |
Fields inherited from interface org.jboss.axis.EngineConfiguration |
PROPERTY_NAME |
Constructor Summary | |
protected |
Deployment(Element e,
ClassLoader loader)
Constructor for Deployment. |
Method Summary | |
void |
deployService(org.jboss.axis.deployment.wsdd.WSDDService service)
|
void |
deployToRegistry(org.jboss.axis.deployment.wsdd.WSDDDeployment arg0)
|
void |
deployTypeMapping(org.jboss.axis.deployment.wsdd.WSDDTypeMapping typeMapping)
overwrite to equip with options |
Iterator |
getDeployedServices()
|
protected static Deployment |
getDeployment(org.jboss.axis.deployment.wsdd.WSDDService service)
return the scoped deployment for this service |
protected ClassLoader |
getDeploymentLoader()
return the deployment loader of this deployment |
org.jboss.axis.handlers.soap.SOAPService |
getService(javax.xml.namespace.QName serviceName)
|
org.jboss.axis.handlers.soap.SOAPService |
getServiceByNamespaceURI(String arg0)
|
org.jboss.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
|
protected void |
installTypeMappingWithOptions(TypeMapping nextMapping)
this helper serves to install typemappings with additional options |
static Deployment |
makeSafeDeployment(Element e,
ClassLoader loader)
the safe "constructor" |
Methods inherited from class org.jboss.axis.deployment.wsdd.WSDDDeployment |
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 |
getChildElement, getChildElements, getDocumentation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ClassLoader deploymentLoader
protected List typeMappings
protected boolean tmrCreated
Constructor Detail |
protected Deployment(Element e, ClassLoader loader) throws org.jboss.axis.deployment.wsdd.WSDDException
Method Detail |
public static Deployment makeSafeDeployment(Element e, ClassLoader loader) throws org.jboss.axis.deployment.wsdd.WSDDException
org.jboss.axis.deployment.wsdd.WSDDException
protected ClassLoader getDeploymentLoader()
protected static Deployment getDeployment(org.jboss.axis.deployment.wsdd.WSDDService service)
public void deployService(org.jboss.axis.deployment.wsdd.WSDDService service)
public void deployTypeMapping(org.jboss.axis.deployment.wsdd.WSDDTypeMapping typeMapping) throws org.jboss.axis.deployment.wsdd.WSDDException
org.jboss.axis.deployment.wsdd.WSDDException
public Iterator getDeployedServices() throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
public org.jboss.axis.handlers.soap.SOAPService getService(javax.xml.namespace.QName serviceName) throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
public org.jboss.axis.handlers.soap.SOAPService getServiceByNamespaceURI(String arg0) throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
public void deployToRegistry(org.jboss.axis.deployment.wsdd.WSDDDeployment arg0) throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
public org.jboss.axis.encoding.TypeMappingRegistry getTypeMappingRegistry() throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
protected void installTypeMappingWithOptions(TypeMapping nextMapping) throws org.jboss.axis.ConfigurationException
org.jboss.axis.ConfigurationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |