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:
java.io.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
 java.lang.String codebase
           
 java.lang.String description
           
 java.lang.String displayName
           
 java.lang.String ejbClass
           
 java.lang.String ejbDeploymentId
           
 java.lang.String ejbName
           
static int ENTITY
          The type constant for a bean managed entity bean or container managed entity bean
 java.lang.String home
           
 JndiEncInfo jndiEnc
           
 java.lang.String largeIcon
           
 java.lang.String local
           
 java.lang.String localHome
           
 java.lang.String remote
           
 SecurityRoleReferenceInfo[] securityRoleReferences
           
 java.lang.String smallIcon
           
static int STATEFUL
          The type constant for a stateful session bean .
static int STATELESS
          The type constant for a stateless session bean .
 java.lang.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 java.lang.String codebase

description

public java.lang.String description

displayName

public java.lang.String displayName

smallIcon

public java.lang.String smallIcon

largeIcon

public java.lang.String largeIcon

ejbDeploymentId

public java.lang.String ejbDeploymentId

home

public java.lang.String home

remote

public java.lang.String remote

localHome

public java.lang.String localHome

local

public java.lang.String local

ejbClass

public java.lang.String ejbClass

ejbName

public java.lang.String ejbName

transactionType

public java.lang.String transactionType

jndiEnc

public JndiEncInfo jndiEnc

securityRoleReferences

public SecurityRoleReferenceInfo[] securityRoleReferences
Constructor Detail

EnterpriseBeanInfo

public EnterpriseBeanInfo()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.