public abstract class WSDDDeployableItem extends WSDDElement
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
protected LockableHashtable |
parameters
Our parameters
|
protected QName |
qname
Our name
|
protected int |
scope
Scope for this item (default is singleton)
|
static int |
SCOPE_PER_ACCESS |
static int |
SCOPE_PER_REQUEST |
static int |
SCOPE_SINGLETON |
static String[] |
scopeStrings |
protected Handler |
singletonInstance
Placeholder for hanging on to singleton object
|
protected QName |
type
Our type
|
ARRAY_DESERIALIZER_FACTORY, ARRAY_SERIALIZER_FACTORY, ATTR_ATTACHMENT_FORMAT, ATTR_CLASS, ATTR_CLASSNAME, ATTR_DESERIALIZER, ATTR_ENCSTYLE, ATTR_INHEADER, ATTR_INNER_NAME, ATTR_INNER_TYPE, ATTR_ITEMQNAME, ATTR_ITEMTYPE, ATTR_LANG_SPEC_TYPE, ATTR_LOCKED, ATTR_MEP, ATTR_MODE, ATTR_NAME, ATTR_OUTHEADER, ATTR_PIVOT, ATTR_PROVIDER, ATTR_QNAME, ATTR_RETHEADER, ATTR_RETITEMQNAME, ATTR_RETITEMTYPE, ATTR_RETQNAME, ATTR_RETTYPE, ATTR_SERIALIZER, ATTR_SOAP12ACTION, ATTR_SOAPACTION, ATTR_SOAPACTORNAME, ATTR_STREAMING, ATTR_STYLE, ATTR_TYPE, ATTR_USE, ATTR_VALUE, BEAN_DESERIALIZER_FACTORY, BEAN_SERIALIZER_FACTORY, ELEM_WSDD_ARRAYMAPPING, 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_ROLE, 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_ARRAYMAPPING, 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
Constructor and Description |
---|
WSDDDeployableItem()
Default constructor
|
WSDDDeployableItem(Element e) |
Modifier and Type | Method and Description |
---|---|
Handler |
getInstance(EngineConfiguration registry) |
Class |
getJavaClass() |
String |
getParameter(String name)
Get the value of one of our parameters
|
LockableHashtable |
getParametersTable()
Returns the config parameters as a hashtable (lockable)
|
QName |
getQName() |
QName |
getType() |
protected Handler |
makeNewInstance(EngineConfiguration registry)
Creates a new instance of this deployable.
|
void |
removeParameter(String name) |
void |
setName(String name) |
void |
setOptionsHashtable(Hashtable hashtable)
Convenience method for using old deployment XML with WSDD.
|
void |
setParameter(String name,
String value)
Set a parameter
|
void |
setQName(QName qname) |
void |
setType(QName type) |
void |
writeParamsToContext(SerializationContext context) |
getChildElement, getChildElements, getElementName, writeToContext
public static final int SCOPE_PER_ACCESS
public static final int SCOPE_PER_REQUEST
public static final int SCOPE_SINGLETON
public static String[] scopeStrings
protected static org.apache.commons.logging.Log log
protected LockableHashtable parameters
protected QName qname
protected QName type
protected int scope
protected Handler singletonInstance
public WSDDDeployableItem()
public WSDDDeployableItem(Element e) throws WSDDException
e
- (Element) XXXWSDDException
- XXXpublic void setName(String name)
name
- XXXpublic void setQName(QName qname)
public QName getQName()
public QName getType()
public void setType(QName type)
type
- XXXpublic LockableHashtable getParametersTable()
public void setOptionsHashtable(Hashtable hashtable)
public void writeParamsToContext(SerializationContext context) throws IOException
IOException
public void removeParameter(String name)
name
- XXXpublic final Handler getInstance(EngineConfiguration registry) throws ConfigurationException
registry
- XXXConfigurationException
- XXXprotected Handler makeNewInstance(EngineConfiguration registry) throws ConfigurationException
registry
- XXXConfigurationException
- XXXpublic Class getJavaClass() throws ClassNotFoundException
ClassNotFoundException
- XXXCopyright © The Apache Software Foundation. All Rights Reserved.