org.objectweb.easybeans.api.bean
Interface IBeanInfo

All Known Implementing Classes:
BeanInfo, MessageDrivenInfo, SessionBeanInfo

public interface IBeanInfo

This interface is used for containing a description for a bean. It is used at the runtime.

Author:
Florent Benoit

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.
 

Method Detail

getApplicationExceptions

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

Returns:
the list of application exceptions defined on this ejb jar metadata.

setApplicationExceptions

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

Parameters:
applicationExceptions - the list of application exceptions defined on this ejb jar metadata.

getTransactionManagementType

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

Returns:
transaction management type.

setTransactionManagementType

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

Parameters:
transactionManagementType - transaction management type.