org.jboss.metadata
Class ActivationConfigPropertyMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.metadata.ActivationConfigPropertyMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class ActivationConfigPropertyMetaData
extends MetaData (src)

Parse the activation-config-property element used in message driven bean. It is a name/value pair


Field Summary
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
ActivationConfigPropertyMetaData()
          Create a new Activation Config Property MetaData object
ActivationConfigPropertyMetaData(java.lang.String name, java.lang.String value)
          Create a new Activation Config Property MetaData object
 
Method Summary
 java.lang.String getName()
          Retrieve the property name
 java.lang.String getValue()
          Retrieve the property value
 void importXml(org.w3c.dom.Element element)
          Imports either the jboss or ejb-jar from the given element.
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importEjbJarXml, importJbossXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivationConfigPropertyMetaData

public ActivationConfigPropertyMetaData()
Create a new Activation Config Property MetaData object


ActivationConfigPropertyMetaData

public ActivationConfigPropertyMetaData(java.lang.String name,
                                        java.lang.String value)
Create a new Activation Config Property MetaData object

Parameters:
name - the name
value - the value
Method Detail

getName

public java.lang.String getName()
Retrieve the property name


getValue

public java.lang.String getValue()
Retrieve the property value


importXml

public void importXml(org.w3c.dom.Element element)
               throws DeploymentException (src) 
Description copied from class: MetaData (src)
Imports either the jboss or ejb-jar from the given element.

Specified by:
importXml in interface XmlLoadable (src)
Overrides:
importXml in class MetaData (src)
Parameters:
element - The element to import.
Throws:
DeploymentException (src) - Unrecognized root tag.

toString

public java.lang.String toString()