org.objectweb.easybeans.container.info
Class BeanInfo

java.lang.Object
  extended by org.objectweb.easybeans.container.info.BeanInfo
All Implemented Interfaces:
IBeanInfo
Direct Known Subclasses:
MessageDrivenInfo, SessionBeanInfo

public class BeanInfo
extends java.lang.Object
implements IBeanInfo

This class contains description for a bean. It is used at the runtime.

Author:
Florent Benoit

Field Summary
private  java.util.Map<java.lang.String,ApplicationException> applicationExceptions
          List of application exceptions used on this ejb-jar.
private  TransactionManagementType transactionManagementType
          Management type for the bean.
 
Constructor Summary
BeanInfo()
           
 
Method Summary
 java.util.Map<java.lang.String,ApplicationException> getApplicationExceptions()
          Gets the list of application exceptions defined on this ejb jar metadata.
 TransactionManagementType getTransactionManagementType()
          Gets the type of transaction for the given bean.
 void setApplicationExceptions(java.util.Map<java.lang.String,ApplicationException> applicationExceptions)
          Sets the list of application exceptions defined on this ejb jar metadata.
 void setTransactionManagementType(TransactionManagementType transactionManagementType)
          Sets the type of transaction for the given bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionManagementType

private TransactionManagementType transactionManagementType
Management type for the bean.


applicationExceptions

private java.util.Map<java.lang.String,ApplicationException> applicationExceptions
List of application exceptions used on this ejb-jar.

Constructor Detail

BeanInfo

public BeanInfo()
Method Detail

getApplicationExceptions

public java.util.Map<java.lang.String,ApplicationException> getApplicationExceptions()
Gets the list of application exceptions defined on this ejb jar metadata.

Specified by:
getApplicationExceptions in interface IBeanInfo
Returns:
the list of application exceptions defined on this ejb jar metadata.

setApplicationExceptions

public void setApplicationExceptions(java.util.Map<java.lang.String,ApplicationException> applicationExceptions)
Sets the list of application exceptions defined on this ejb jar metadata.

Specified by:
setApplicationExceptions in interface IBeanInfo
Parameters:
applicationExceptions - the list of application exceptions defined on this ejb jar metadata.

getTransactionManagementType

public TransactionManagementType getTransactionManagementType()
Gets the type of transaction for the given bean.

Specified by:
getTransactionManagementType in interface IBeanInfo
Returns:
transaction management type.

setTransactionManagementType

public void setTransactionManagementType(TransactionManagementType transactionManagementType)
Sets the type of transaction for the given bean.

Specified by:
setTransactionManagementType in interface IBeanInfo
Parameters:
transactionManagementType - transaction management type.