站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

WSDDDeployableItem (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.deployment.wsdd
Class WSDDDeployableItem

java.lang.Object
  extended byorg.apache.axis.deployment.wsdd.WSDDConstants
      extended byorg.apache.axis.deployment.wsdd.WSDDElement
          extended byorg.apache.axis.deployment.wsdd.WSDDDeployableItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WSDDGlobalConfiguration, WSDDHandler, WSDDTargetedChain

public abstract class WSDDDeployableItem
extends WSDDElement

WSDD DeployableItem complexType

See Also:
Serialized Form

Field Summary
protected  LockableHashtable parameters
          Our parameters
protected  javax.xml.namespace.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  javax.xml.namespace.QName type
          Our type
 
Fields inherited from class org.apache.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
 
Constructor Summary
WSDDDeployableItem()
          Default constructor
WSDDDeployableItem(Element e)
           
 
Method Summary
 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)
 javax.xml.namespace.QName getQName()
           
 javax.xml.namespace.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(javax.xml.namespace.QName qname)
           
 void setType(javax.xml.namespace.QName type)
           
 void writeParamsToContext(SerializationContext context)
           
 
Methods inherited from class org.apache.axis.deployment.wsdd.WSDDElement
getChildElement, getChildElements, getDocumentation, getElementName, writeToContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCOPE_PER_ACCESS

public static final int SCOPE_PER_ACCESS
See Also:
Constant Field Values

SCOPE_PER_REQUEST

public static final int SCOPE_PER_REQUEST
See Also:
Constant Field Values

SCOPE_SINGLETON

public static final int SCOPE_SINGLETON
See Also:
Constant Field Values

scopeStrings

public static String[] scopeStrings

parameters

protected LockableHashtable parameters
Our parameters


qname

protected javax.xml.namespace.QName qname
Our name


type

protected javax.xml.namespace.QName type
Our type


scope

protected int scope
Scope for this item (default is singleton)


singletonInstance

protected Handler singletonInstance
Placeholder for hanging on to singleton object

Constructor Detail

WSDDDeployableItem

public WSDDDeployableItem()
Default constructor


WSDDDeployableItem

public WSDDDeployableItem(Element e)
                   throws WSDDException
Parameters:
e - (Element) XXX
Throws:
WSDDException - XXX
Method Detail

setName

public void setName(String name)
Parameters:
name - XXX

setQName

public void setQName(javax.xml.namespace.QName qname)

getQName

public javax.xml.namespace.QName getQName()
Returns:
XXX

getType

public javax.xml.namespace.QName getType()
Returns:
XXX

setType

public void setType(javax.xml.namespace.QName type)
Parameters:
type - XXX

setParameter

public void setParameter(String name,
                         String value)
Set a parameter


getParameter

public String getParameter(String name)
Get the value of one of our parameters


getParametersTable

public LockableHashtable getParametersTable()
Returns the config parameters as a hashtable (lockable)

Returns:
XXX

setOptionsHashtable

public void setOptionsHashtable(Hashtable hashtable)
Convenience method for using old deployment XML with WSDD. This allows us to set the options directly after the Admin class has parsed them out of the old format.


writeParamsToContext

public void writeParamsToContext(SerializationContext context)
                          throws IOException
Throws:
IOException

removeParameter

public void removeParameter(String name)
Parameters:
name - XXX

getInstance

public final Handler getInstance(EngineConfiguration registry)
                          throws ConfigurationException
Parameters:
registry - XXX
Returns:
XXX
Throws:
ConfigurationException - XXX

makeNewInstance

protected Handler makeNewInstance(EngineConfiguration registry)
                           throws ConfigurationException
Creates a new instance of this deployable. if the java class is not found, the registry is queried to find a suitable item

Parameters:
registry - XXX
Returns:
XXX
Throws:
ConfigurationException - XXX

getJavaClass

public Class getJavaClass()
                   throws ClassNotFoundException
Returns:
XXX
Throws:
ClassNotFoundException - XXX


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.