org.ow2.util.ee.metadata.ejbjar.api.xml.struct
Interface IBean

All Superinterfaces:
IEnvironment, Serializable
All Known Subinterfaces:
IMessageDriven, ISession

public interface IBean
extends IEnvironment

Common stuff of beans.

Author:
Florent Benoit

Method Summary
 void addTimer(ITimer timer)
          Adds a new timer.
 String getEjbClass()
          Gets the ejb-class.
 String getEjbName()
          Gets the ejb-name.
 String getMappedName()
          Gets the mapped name.
 String getRunAsRole()
          Gets the run-as role.
 IMethodDD getTimeoutMethod()
           
 List<ITimer> getTimers()
           
 String getTransactionType()
          Gets the transaction-type.
 void setEjbClass(String ejbClass)
          Set the ejb-class.
 void setEjbName(String ejbName)
          Set the ejb-name.
 void setMappedName(String mappedName)
          Set the mapped name.
 void setRunAsRole(String runAsRole)
          Set the run-as role.
 void setTimeoutMethod(IMethodDD timeoutMethod)
          Set the timeout method.
 void setTransactionType(String transactionType)
          Set the transaction-type.
 
Methods inherited from interface org.ow2.util.ee.metadata.common.api.xml.struct.IEnvironment
addAroundInvoke, addDataSource, addEJBLocalRef, addEJBRef, addEnvEntry, addMessageDestinationRef, addPersistenceContextRef, addPersistenceUnitRef, addPostActivateCallback, addPostConstructCallback, addPreDestroyCallback, addPrePassivateCallback, addResourceEnvRef, addResourceRef, addSecurityRoleRef, addServiceRef, getAroundInvokeList, getDataSourceList, getEJBLocalRefList, getEJBRefList, getEnvEntryList, getMessageDestinationRefList, getPersistenceContextRefList, getPersistenceUnitRefList, getPostActivateCallbackList, getPostConstructCallbackList, getPreDestroyCallbackList, getPrePassivateCallbackList, getResourceEnvRefList, getResourceRefList, getSecurityRoleRefList, getServiceRefList
 

Method Detail

getEjbName

String getEjbName()
Gets the ejb-name.

Returns:
the ejb-name

setEjbName

void setEjbName(String ejbName)
Set the ejb-name.

Parameters:
ejbName - ejbName

getEjbClass

String getEjbClass()
Gets the ejb-class.

Returns:
the ejb-class

setEjbClass

void setEjbClass(String ejbClass)
Set the ejb-class.

Parameters:
ejbClass - ejb-class

getRunAsRole

String getRunAsRole()
Gets the run-as role.

Returns:
the run-as role

setRunAsRole

void setRunAsRole(String runAsRole)
Set the run-as role.

Parameters:
runAsRole - the run-as role

getMappedName

String getMappedName()
Gets the mapped name.

Returns:
the mapped name

setMappedName

void setMappedName(String mappedName)
Set the mapped name.

Parameters:
mappedName - the given mapped name.

getTransactionType

String getTransactionType()
Gets the transaction-type.

Returns:
the transaction-type

setTransactionType

void setTransactionType(String transactionType)
Set the transaction-type.

Parameters:
transactionType - transaction-type.

getTimers

List<ITimer> getTimers()
Returns:
list of timers

addTimer

void addTimer(ITimer timer)
Adds a new timer.

Parameters:
timer - the new timer

getTimeoutMethod

IMethodDD getTimeoutMethod()
Returns:
the timeout method

setTimeoutMethod

void setTimeoutMethod(IMethodDD timeoutMethod)
Set the timeout method.

Parameters:
timeoutMethod - the given timeout.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.