Class WSDDDeployableItem

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WSDDGlobalConfiguration, WSDDHandler, WSDDTargetedChain

public abstract class WSDDDeployableItem extends WSDDElement
WSDD DeployableItem complexType
See Also:
  • Field Details

    • SCOPE_PER_ACCESS

      public static final int SCOPE_PER_ACCESS
      See Also:
    • SCOPE_PER_REQUEST

      public static final int SCOPE_PER_REQUEST
      See Also:
    • SCOPE_SINGLETON

      public static final int SCOPE_SINGLETON
      See Also:
    • scopeStrings

      public static String[] scopeStrings
    • log

      protected static org.apache.commons.logging.Log log
    • parameters

      protected LockableHashtable parameters
      Our parameters
    • qname

      protected QName qname
      Our name
    • type

      protected 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 Details

    • WSDDDeployableItem

      public WSDDDeployableItem()
      Default constructor
    • WSDDDeployableItem

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

    • setName

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

      public void setQName(QName qname)
    • getQName

      public QName getQName()
      Returns:
      XXX
    • getType

      public QName getType()
      Returns:
      XXX
    • setType

      public void setType(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