org.objectweb.easybeans.api.bean.info
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.
 java.lang.String getName()
          Gets the name of the bean.
 ISecurityInfo getSecurityInfo()
          Gets the security info.
 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 setName(java.lang.String name)
          Sets the name of the bean.
 void setSecurityInfo(ISecurityInfo securityInfo)
          Sets the security info.
 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.

getSecurityInfo

ISecurityInfo getSecurityInfo()
Gets the security info.

Returns:
security info.

setSecurityInfo

void setSecurityInfo(ISecurityInfo securityInfo)
Sets the security info.

Parameters:
securityInfo - security info.

getName

java.lang.String getName()
Gets the name of the bean.

Returns:
the name of the bean.

setName

void setName(java.lang.String name)
Sets the name of the bean.

Parameters:
name - the bean's name.