org.openejb.alt.assembler.classic
Class EnterpriseBeanInfo

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by org.openejb.alt.assembler.classic.EnterpriseBeanInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EnterpriseBean, EntityBeanInfo, StatefulBeanInfo, StatelessBeanInfo

public abstract class EnterpriseBeanInfo
extends InfoObject

EnterpriseBeanInfo is part of the OpenEjbConfiguration object structure that provides the information about the configuration of OpenEJB and the container system.

The OpenEjbConfiguration itself is created by a OpenEjbConfigurationFactory and is used by the org.openejb.alt.assembler.classic.Assembler to build a running unstance of OpenEJB.

The default OpenEjbConfigurationFactory is DomOpenEjbConfigurationFactory, which creates an OpenEjbConfiguration object based on XML config files located on the local system.

Other OpenEjbConfigurationFactory implementations can be created that might populate this object using a different approach. Other usefull implementations might be:

If you are interested in creating alternate an OpenEjbConfigurationFactory to do any of the above techniques or a new approach, email the OpenEJB Developer list with a description of the new OpenEjbConfigurationFactory implementation.

Author:
David Blevins, Richard Monson-Haefel
See Also:
Assembler, Assembler, OpenEjbConfiguration, OpenEjbConfigurationFactory, Serialized Form

Field Summary
 String codebase
           
 String description
           
 String displayName
           
 String ejbClass
           
 String ejbDeploymentId
           
 String ejbName
           
static int ENTITY
          The type constant for a bean managed entity bean or container managed entity bean
 String home
           
 JndiEncInfo jndiEnc
           
 String largeIcon
           
 String local
           
 String localHome
           
 String remote
           
 SecurityRoleReferenceInfo[] securityRoleReferences
           
 String smallIcon
           
static int STATEFUL
          The type constant for a stateful session bean .
static int STATELESS
          The type constant for a stateless session bean .
 String transactionType
           
 int type
           
 
Constructor Summary
EnterpriseBeanInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY

public static final int ENTITY
The type constant for a bean managed entity bean or container managed entity bean

See Also:
Constant Field Values

STATEFUL

public static final int STATEFUL
The type constant for a stateful session bean .

See Also:
Constant Field Values

STATELESS

public static final int STATELESS
The type constant for a stateless session bean .

See Also:
Constant Field Values

type

public int type

codebase

public String codebase

description

public String description

displayName

public String displayName

smallIcon

public String smallIcon

largeIcon

public String largeIcon

ejbDeploymentId

public String ejbDeploymentId

home

public String home

remote

public String remote

localHome

public String localHome

local

public String local

ejbClass

public String ejbClass

ejbName

public String ejbName

transactionType

public String transactionType

jndiEnc

public JndiEncInfo jndiEnc

securityRoleReferences

public SecurityRoleReferenceInfo[] securityRoleReferences
Constructor Detail

EnterpriseBeanInfo

public EnterpriseBeanInfo()


Copyright © 1999-2010 OpenEJB. All Rights Reserved.