org.ow2.easybeans.deployment.metadata.ejbjar.xml
Class AbsSpecificBean

java.lang.Object
  extended by org.ow2.easybeans.deployment.metadata.ejbjar.xml.AbsSpecificBean
Direct Known Subclasses:
MessageDrivenBean, Session

public class AbsSpecificBean
extends java.lang.Object

Common stuff for the specific part of EJB.

Author:
Florent BENOIT

Constructor Summary
AbsSpecificBean()
          Default constructor.
 
Method Summary
 java.lang.Object getCluster()
          Gets the cluster configuration.
 java.lang.String getEjbName()
           
 org.ow2.util.pool.api.IPoolConfiguration getPoolConfiguration()
           
 RunAs getRunAs()
           
 java.util.List<ServiceRef> getServiceRefs()
           
 void setCluster(java.lang.Object cluster)
          Sets the cluster configuration.
 void setEjbName(java.lang.String ejbName)
          Sets the name of the EJB.
 void setPoolConfiguration(org.ow2.util.pool.api.IPoolConfiguration poolConfiguration)
          Sets the pool's configuration.
 void setRunAs(RunAs runAs)
          Set the run-as of the bean.
 void setServiceRefs(java.util.List<ServiceRef> references)
          Set the list of references.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsSpecificBean

public AbsSpecificBean()
Default constructor.

Method Detail

getEjbName

public java.lang.String getEjbName()
Returns:
the name of the EJB

setEjbName

public void setEjbName(java.lang.String ejbName)
Sets the name of the EJB.

Parameters:
ejbName - the given name

getPoolConfiguration

public org.ow2.util.pool.api.IPoolConfiguration getPoolConfiguration()
Returns:
the configuration of the pool.

setPoolConfiguration

public void setPoolConfiguration(org.ow2.util.pool.api.IPoolConfiguration poolConfiguration)
Sets the pool's configuration.

Parameters:
poolConfiguration - the given configuration

getCluster

public java.lang.Object getCluster()
Gets the cluster configuration.

Returns:
the cluster configuration

setCluster

public void setCluster(java.lang.Object cluster)
Sets the cluster configuration.

Parameters:
cluster - the cluster configuration to set

getServiceRefs

public java.util.List<ServiceRef> getServiceRefs()
Returns:
the list of web service references.

setServiceRefs

public void setServiceRefs(java.util.List<ServiceRef> references)
Set the list of references.

Parameters:
references - web services references

getRunAs

public RunAs getRunAs()
Returns:
the run-as of the bean.

setRunAs

public void setRunAs(RunAs runAs)
Set the run-as of the bean.

Parameters:
runAs - run-as of the bean


Copyright © 2006-2010 OW2 Consortium. All Rights Reserved.