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

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by org.openejb.alt.assembler.classic.EnterpriseBeanInfo
          extended by 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.

Author:
David Blevins, Richard Monson-Haefel
See Also:
EnterpriseBeanInfo, 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, local, localHome, 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.

See Also:
Constant Field Values

DISPLAY_NAME

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

See Also:
Constant Field Values

SMALL_ICON

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

See Also:
Constant Field Values

LARGE_ICON

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

See Also:
Constant Field Values

EJB_DEPLOYMENT_ID

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

See Also:
Constant Field Values

HOME

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

See Also:
Constant Field Values

REMOTE

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

See Also:
Constant Field Values

EJB_CLASS

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

See Also:
Constant Field Values

JNDI_ENC

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

See Also:
Constant Field Values

SECURITY_ROLE_REF

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

See Also:
Constant Field Values
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.

Throws:
OpenEJBException

serializeToDOM

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


Copyright © 1999-2011 OpenEJB. All Rights Reserved.