org.apache.axis.deployment.wsdd
Class WSDDDeployableItem

java.lang.Object
  |
  +--org.apache.axis.deployment.wsdd.WSDDElement
        |
        +--org.apache.axis.deployment.wsdd.WSDDDeployableItem
All Implemented Interfaces:
DeployableItem, java.io.Serializable
Direct Known Subclasses:
WSDDGlobalConfiguration, WSDDHandler, WSDDTargetedChain

public abstract class WSDDDeployableItem
extends WSDDElement
implements DeployableItem

WSDD DeployableItem complexType

See Also:
Serialized Form

Field Summary
static int SCOPE_PER_ACCESS
           
static int SCOPE_PER_REQUEST
           
static int SCOPE_SINGLETON
           
static java.lang.String[] scopeStrings
           
 
Constructor Summary
WSDDDeployableItem()
          Default constructor
WSDDDeployableItem(org.w3c.dom.Element e)
           
 
Method Summary
 Handler getInstance(EngineConfiguration registry)
          Obtain an instance of this item.
 java.lang.Class getJavaClass()
           
 java.lang.String getParameter(java.lang.String name)
          Get the value of one of our parameters
 LockableHashtable getParametersTable()
          Returns the config parameters as a hashtable (lockable)
 QName getQName()
          Get the QName of this item
 QName getType()
           
protected  Handler makeNewInstance(EngineConfiguration registry)
          Creates a new instance of this deployable.
 void removeParameter(java.lang.String name)
           
 void setName(java.lang.String name)
           
 void setOptionsHashtable(java.util.Hashtable hashtable)
          Convenience method for using old deployment XML with WSDD.
 void setParameter(java.lang.String name, java.lang.String value)
          Set a parameter
 void setQName(QName qname)
           
 void setType(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

SCOPE_PER_REQUEST

public static final int SCOPE_PER_REQUEST

SCOPE_SINGLETON

public static final int SCOPE_SINGLETON

scopeStrings

public static java.lang.String[] scopeStrings
Constructor Detail

WSDDDeployableItem

public WSDDDeployableItem()
Default constructor

WSDDDeployableItem

public WSDDDeployableItem(org.w3c.dom.Element e)
                   throws WSDDException
Parameters:
e - (Element) XXX
n - (String) XXX
Throws:
WSDDException - XXX
Method Detail

setName

public void setName(java.lang.String name)
Parameters:
name - XXX

setQName

public void setQName(QName qname)

getQName

public QName getQName()
Description copied from interface: DeployableItem
Get the QName of this item
Specified by:
getQName in interface DeployableItem
Returns:
XXX

getType

public QName getType()
Returns:
XXX

setType

public void setType(QName type)
Parameters:
type - XXX

setParameter

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

getParameter

public java.lang.String getParameter(java.lang.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(java.util.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 java.io.IOException

removeParameter

public void removeParameter(java.lang.String name)
Parameters:
name - XXX

getInstance

public final Handler getInstance(EngineConfiguration registry)
                          throws ConfigurationException
Description copied from interface: DeployableItem
Obtain an instance of this item.
Specified by:
getInstance in interface DeployableItem
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 java.lang.Class getJavaClass()
                             throws java.lang.ClassNotFoundException
Parameters:
type - XXX
Returns:
XXX
Throws:
java.lang.ClassNotFoundException - XXX


Copyright © 2001 Apache XML Project. All Rights Reserved.