org.openejb.alt.assembler.classic.xml
Class EnterpriseBean

java.lang.Object
  |
  +--org.openejb.alt.assembler.classic.InfoObject
        |
        +--org.openejb.alt.assembler.classic.EnterpriseBeanInfo
              |
              +--org.openejb.alt.assembler.classic.xml.EnterpriseBean
All Implemented Interfaces:
java.io.Serializable

public class EnterpriseBean
extends EnterpriseBeanInfo

A subclass of EnterpriseBeanInfo filled with data from an XML file. Populates the member variables of EnterpriseBeanInfo in this classes initializeFromDOM method.

See Also:
EnterpriseBeanInfo, #EnterpriseBean.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String DESCRIPTION
          Represents the description element in the XML config file.
static java.lang.String DISPLAY_NAME
          Represents the display-name element in the XML config file.
static java.lang.String EJB_CLASS
          Represents the ejb-class element in the XML config file.
static java.lang.String EJB_DEPLOYMENT_ID
          Represents the ejb-deployment-id element in the XML config file.
static java.lang.String HOME
          Represents the home element in the XML config file.
static java.lang.String JNDI_ENC
          Represents the jndi-enc element in the XML config file.
static java.lang.String LARGE_ICON
          Represents the large-icon element in the XML config file.
static java.lang.String REMOTE
          Represents the remote element in the XML config file.
static java.lang.String SECURITY_ROLE_REF
          Represents the security-role-ref element in the XML config file.
static java.lang.String SMALL_ICON
          Represents the small-icon element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.EnterpriseBeanInfo
codebase, description, displayName, ejbClass, ejbDeploymentId, ejbName, ENTITY, home, jndiEnc, largeIcon, remote, securityRoleReferences, smallIcon, STATEFUL, STATELESS, transactionType, type
 
Constructor Summary
EnterpriseBean()
           
 
Method Summary
static void initializeFromDOM(org.w3c.dom.Node node, EnterpriseBeanInfo beanInfo)
          Parses out the values needed by this DomObject from the DOM Node passed in.
 void serializeToDOM(org.w3c.dom.Node node)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTION

public static final java.lang.String DESCRIPTION
Represents the description element in the XML config file.

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
Represents the display-name element in the XML config file.

SMALL_ICON

public static final java.lang.String SMALL_ICON
Represents the small-icon element in the XML config file.

LARGE_ICON

public static final java.lang.String LARGE_ICON
Represents the large-icon element in the XML config file.

EJB_DEPLOYMENT_ID

public static final java.lang.String EJB_DEPLOYMENT_ID
Represents the ejb-deployment-id element in the XML config file.

HOME

public static final java.lang.String HOME
Represents the home element in the XML config file.

REMOTE

public static final java.lang.String REMOTE
Represents the remote element in the XML config file.

EJB_CLASS

public static final java.lang.String EJB_CLASS
Represents the ejb-class element in the XML config file.

JNDI_ENC

public static final java.lang.String JNDI_ENC
Represents the jndi-enc element in the XML config file.

SECURITY_ROLE_REF

public static final java.lang.String SECURITY_ROLE_REF
Represents the security-role-ref element in the XML config file.
Constructor Detail

EnterpriseBean

public EnterpriseBean()
Method Detail

initializeFromDOM

public static void initializeFromDOM(org.w3c.dom.Node node,
                                     EnterpriseBeanInfo beanInfo)
                              throws OpenEJBException
Parses out the values needed by this DomObject from the DOM Node passed in.

serializeToDOM

public void serializeToDOM(org.w3c.dom.Node node)
                    throws OpenEJBException