org.apache.axis.deployment.wsdd

Class WSDDDeployableItem

public abstract class WSDDDeployableItem extends WSDDElement

WSDD DeployableItem complexType
Field Summary
protected static Loglog
protected LockableHashtableparameters
Our parameters
protected QNameqname
Our name
protected intscope
Scope for this item (default is singleton)
static String[]scopeStrings
protected HandlersingletonInstance
Placeholder for hanging on to singleton object
static intSCOPE_PER_ACCESS
static intSCOPE_PER_REQUEST
static intSCOPE_SINGLETON
protected QNametype
Our type
Constructor Summary
WSDDDeployableItem()
Default constructor
WSDDDeployableItem(Element e)
Method Summary
HandlergetInstance(EngineConfiguration registry)
ClassgetJavaClass()
StringgetParameter(String name)
Get the value of one of our parameters
LockableHashtablegetParametersTable()
Returns the config parameters as a hashtable (lockable)
QNamegetQName()
QNamegetType()
protected HandlermakeNewInstance(EngineConfiguration registry)
Creates a new instance of this deployable. if the java class is not found, the registry is queried to find a suitable item
voidremoveParameter(String name)
voidsetName(String name)
voidsetOptionsHashtable(Hashtable hashtable)
Convenience method for using old deployment XML with WSDD.
voidsetParameter(String name, String value)
Set a parameter
voidsetQName(QName qname)
voidsetType(QName type)
voidwriteParamsToContext(SerializationContext context)

Field Detail

log

protected static Log log

parameters

protected LockableHashtable parameters
Our parameters

qname

protected QName qname
Our name

scope

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

scopeStrings

public static String[] scopeStrings

singletonInstance

protected Handler singletonInstance
Placeholder for hanging on to singleton object

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

type

protected QName type
Our type

Constructor Detail

WSDDDeployableItem

public WSDDDeployableItem()
Default constructor

WSDDDeployableItem

public WSDDDeployableItem(Element e)

Parameters: e (Element) XXX

Throws: WSDDException XXX

Method Detail

getInstance

public final Handler getInstance(EngineConfiguration registry)

Parameters: registry XXX

Returns: XXX

Throws: ConfigurationException XXX

getJavaClass

public Class getJavaClass()

Returns: XXX

Throws: ClassNotFoundException XXX

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

getQName

public QName getQName()

Returns: XXX

getType

public QName getType()

Returns: XXX

makeNewInstance

protected Handler makeNewInstance(EngineConfiguration registry)
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

removeParameter

public void removeParameter(String name)

Parameters: name XXX

setName

public void setName(String name)

Parameters: name 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.

setParameter

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

setQName

public void setQName(QName qname)

setType

public void setType(QName type)

Parameters: type XXX

writeParamsToContext

public void writeParamsToContext(SerializationContext context)
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.