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:
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  TransactionManagementType transactionManagementType
          Management type for the bean.
 
Constructor Summary
BeanInfo()
           
 
Method Summary
 TransactionManagementType getTransactionManagementType()
          Gets the type of transaction for the given bean.
 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.

Constructor Detail

BeanInfo

public BeanInfo()
Method Detail

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.