org.jboss.metadata.ejb.jboss
Class ContainerConfigurationMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
              extended by org.jboss.metadata.ejb.jboss.ContainerConfigurationMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData
Direct Known Subclasses:
ContainerConfigurationMetaDataWrapper

public class ContainerConfigurationMetaData
extends NamedMetaDataWithDescriptions

ConfigurationMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
static String BMP
          The standard BMP configuration
static String CLUSTERED_BMP
          The clustered BMP configuration
static String CLUSTERED_CMP_1x
          The clustered CMP1.1 configuration
static String CLUSTERED_CMP_2x
          The clustered CMP2 configuration
static String CLUSTERED_STATEFUL
          The clustered stateful session configuration
static String CLUSTERED_STATELESS
          The clustered stateless session configuration
static String CMP_1x
          The standard CMP1.1 configuration
static String CMP_2x
          The standard CMP2 configuration
static String MESSAGE_DRIVEN
          The message driven bean configuration
static String MESSAGE_INFLOW_DRIVEN
          The message inflow driven bean configuration
static String STATEFUL
          The standard Stateful session configuration
static String STATELESS
          The standard Stateless session configuration
 
Constructor Summary
ContainerConfigurationMetaData()
           
 
Method Summary
 boolean callLoggingWasSet()
           
 boolean ejbStoreOnCleanWasSet()
           
 ClusterConfigMetaData getClusterConfig()
          Get the clusterConfig.
 CommitOption getCommitOption()
          Get the commitOption.
 Element getContainerCacheConf()
           
 Element getContainerInterceptors()
           
 String getContainerName()
          Get the containerName.
 Element getContainerPoolConf()
           
 String getDefaultInvokerName()
          Get the default invoker name
 Set<String> getDepends()
          Get the depends.
 String getExtendsName()
          Get the extendsName.
 String getInstanceCache()
          Get the instanceCache.
 String getInstancePool()
          Get the instancePool.
 Set<String> getInvokerProxyBindingNames()
          Get the invokerProxyBindingNames.
 String getLockingPolicy()
          Get the lockingPolicy.
 int getOptiondRefreshRate()
          Get the optionDRefreshRate in seconds
 long getOptiondRefreshRateMillis()
          Get the optiondRefreshRateMillis.
 String getPersistenceManager()
          Get the persistenceManager.
 String getSecurityDomain()
          Get the securityDomain.
 String getWebClassLoader()
          Get the webClassLoader.
 boolean insertAfterEjbPostCreateWasSet()
           
 boolean isCallLogging()
          Get the callLogging.
 boolean isEjbStoreOnClean()
          Get the ejbStoreOnClean.
 boolean isInsertAfterEjbPostCreate()
          Get the insertAfterEjbPostCreate.
 boolean isStoreNotFlushed()
          Get the storeNotFlushed.
 boolean isSyncOnCommitOnly()
          Get the syncOnCommitOnly.
 void setCallLogging(boolean callLogging)
          Set the callLogging.
 void setClusterConfig(ClusterConfigMetaData clusterConfig)
          Set the clusterConfig.
 void setCommitOption(CommitOption commitOption)
          Set the commitOption.
 void setContainerCacheConf(Element containerCacheConf)
           
 void setContainerInterceptors(Element containerInterceptorsConf)
           
 void setContainerName(String containerName)
          Set the containerName.
 void setContainerPoolConf(Element containerPoolConf)
           
 void setDepends(Set<String> depends)
          Set the depends.
 void setEjbStoreOnClean(boolean ejbStoreOnClean)
          Set the ejbStoreOnClean.
 void setExtendsName(String extendsName)
          Set the extendsName.
 void setInsertAfterEjbPostCreate(boolean insertAfterEjbPostCreate)
          Set the insertAfterEjbPostCreate.
 void setInstanceCache(String instanceCache)
          Set the instanceCache.
 void setInstancePool(String instancePool)
          Set the instancePool.
 void setInvokerProxyBindingNames(Set<String> invokerProxyBindingNames)
          Set the invokerProxyBindingNames.
 void setLockingPolicy(String lockingPolicy)
          Set the lockingPolicy.
 void setOptiondRefreshRate(int optionDRefreshRateSeconds)
          Set the optiondRefreshRateMillis in seconds.
 void setOptiondRefreshRateMillis(long optiondRefreshRateMillis)
          Set the optiondRefreshRateMillis.
 void setPersistenceManager(String persistenceManager)
          Set the persistenceManager.
 void setSecurityDomain(String securityDomain)
          Set the securityDomain.
 void setStoreNotFlushed(boolean storeNotFlushed)
          Set the storeNotFlushed.
 void setSyncOnCommitOnly(boolean syncOnCommitOnly)
          Set the syncOnCommitOnly.
 void setWebClassLoader(String webClassLoader)
          Set the webClassLoader.
 boolean storeNotFlushedWasSet()
           
 boolean syncOnCommitOnlyWasSet()
           
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptions
getDescriptions, setDescriptions
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, merge, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Field Detail

CMP_2x

public static final String CMP_2x
The standard CMP2 configuration

See Also:
Constant Field Values

CMP_1x

public static final String CMP_1x
The standard CMP1.1 configuration

See Also:
Constant Field Values

BMP

public static final String BMP
The standard BMP configuration

See Also:
Constant Field Values

STATELESS

public static final String STATELESS
The standard Stateless session configuration

See Also:
Constant Field Values

STATEFUL

public static final String STATEFUL
The standard Stateful session configuration

See Also:
Constant Field Values

MESSAGE_DRIVEN

public static final String MESSAGE_DRIVEN
The message driven bean configuration

See Also:
Constant Field Values

MESSAGE_INFLOW_DRIVEN

public static final String MESSAGE_INFLOW_DRIVEN
The message inflow driven bean configuration

See Also:
Constant Field Values

CLUSTERED_CMP_2x

public static final String CLUSTERED_CMP_2x
The clustered CMP2 configuration

See Also:
Constant Field Values

CLUSTERED_CMP_1x

public static final String CLUSTERED_CMP_1x
The clustered CMP1.1 configuration

See Also:
Constant Field Values

CLUSTERED_BMP

public static final String CLUSTERED_BMP
The clustered BMP configuration

See Also:
Constant Field Values

CLUSTERED_STATEFUL

public static final String CLUSTERED_STATEFUL
The clustered stateful session configuration

See Also:
Constant Field Values

CLUSTERED_STATELESS

public static final String CLUSTERED_STATELESS
The clustered stateless session configuration

See Also:
Constant Field Values
Constructor Detail

ContainerConfigurationMetaData

public ContainerConfigurationMetaData()
Method Detail

getContainerName

public String getContainerName()
Get the containerName.

Returns:
the containerName.

setContainerName

public void setContainerName(String containerName)
Set the containerName.

Parameters:
containerName - the containerName.
Throws:
IllegalArgumentException - for a null containerName

getExtendsName

public String getExtendsName()
Get the extendsName.

Returns:
the extendsName.

setExtendsName

public void setExtendsName(String extendsName)
Set the extendsName.

Parameters:
extendsName - the extendsName.
Throws:
IllegalArgumentException - for a null extendsName

isCallLogging

public boolean isCallLogging()
Get the callLogging.

Returns:
the callLogging.

callLoggingWasSet

public boolean callLoggingWasSet()

setCallLogging

public void setCallLogging(boolean callLogging)
Set the callLogging.

Parameters:
callLogging - the callLogging.

isSyncOnCommitOnly

public boolean isSyncOnCommitOnly()
Get the syncOnCommitOnly.

Returns:
the syncOnCommitOnly.

syncOnCommitOnlyWasSet

public boolean syncOnCommitOnlyWasSet()

setSyncOnCommitOnly

public void setSyncOnCommitOnly(boolean syncOnCommitOnly)
Set the syncOnCommitOnly.

Parameters:
syncOnCommitOnly - the syncOnCommitOnly.

isInsertAfterEjbPostCreate

public boolean isInsertAfterEjbPostCreate()
Get the insertAfterEjbPostCreate.

Returns:
the insertAfterEjbPostCreate.

insertAfterEjbPostCreateWasSet

public boolean insertAfterEjbPostCreateWasSet()

setInsertAfterEjbPostCreate

public void setInsertAfterEjbPostCreate(boolean insertAfterEjbPostCreate)
Set the insertAfterEjbPostCreate.

Parameters:
insertAfterEjbPostCreate - the insertAfterEjbPostCreate.

isEjbStoreOnClean

public boolean isEjbStoreOnClean()
Get the ejbStoreOnClean.

Returns:
the ejbStoreOnClean.

ejbStoreOnCleanWasSet

public boolean ejbStoreOnCleanWasSet()

setEjbStoreOnClean

public void setEjbStoreOnClean(boolean ejbStoreOnClean)
Set the ejbStoreOnClean.

Parameters:
ejbStoreOnClean - the ejbStoreOnClean.

isStoreNotFlushed

public boolean isStoreNotFlushed()
Get the storeNotFlushed.

Returns:
the storeNotFlushed.

storeNotFlushedWasSet

public boolean storeNotFlushedWasSet()

setStoreNotFlushed

public void setStoreNotFlushed(boolean storeNotFlushed)
Set the storeNotFlushed.

Parameters:
storeNotFlushed - the storeNotFlushed.
Throws:
IllegalArgumentException - for a null storeNotFlushed

getInstancePool

public String getInstancePool()
Get the instancePool.

Returns:
the instancePool.

setInstancePool

public void setInstancePool(String instancePool)
Set the instancePool.

Parameters:
instancePool - the instancePool.
Throws:
IllegalArgumentException - for a null instancePool

getInstanceCache

public String getInstanceCache()
Get the instanceCache.

Returns:
the instanceCache.

setInstanceCache

public void setInstanceCache(String instanceCache)
Set the instanceCache.

Parameters:
instanceCache - the instanceCache.
Throws:
IllegalArgumentException - for a null instanceCache

getPersistenceManager

public String getPersistenceManager()
Get the persistenceManager.

Returns:
the persistenceManager.

setPersistenceManager

public void setPersistenceManager(String persistenceManager)
Set the persistenceManager.

Parameters:
persistenceManager - the persistenceManager.
Throws:
IllegalArgumentException - for a null persistenceManager

getWebClassLoader

public String getWebClassLoader()
Get the webClassLoader.

Returns:
the webClassLoader.

setWebClassLoader

public void setWebClassLoader(String webClassLoader)
Set the webClassLoader.

Parameters:
webClassLoader - the webClassLoader.
Throws:
IllegalArgumentException - for a null webClassLoader

getLockingPolicy

public String getLockingPolicy()
Get the lockingPolicy.

Returns:
the lockingPolicy.

setLockingPolicy

public void setLockingPolicy(String lockingPolicy)
Set the lockingPolicy.

Parameters:
lockingPolicy - the lockingPolicy.
Throws:
IllegalArgumentException - for a null lockingPolicy

getSecurityDomain

public String getSecurityDomain()
Get the securityDomain.

Returns:
the securityDomain.

setSecurityDomain

public void setSecurityDomain(String securityDomain)
Set the securityDomain.

Parameters:
securityDomain - the securityDomain.
Throws:
IllegalArgumentException - for a null securityDomain

getCommitOption

public CommitOption getCommitOption()
Get the commitOption.

Returns:
the commitOption.

setCommitOption

public void setCommitOption(CommitOption commitOption)
Set the commitOption.

Parameters:
commitOption - the commitOption.
Throws:
IllegalArgumentException - for a null commitOption

getOptiondRefreshRateMillis

public long getOptiondRefreshRateMillis()
Get the optiondRefreshRateMillis.

Returns:
the optiondRefreshRateMillis.

setOptiondRefreshRateMillis

public void setOptiondRefreshRateMillis(long optiondRefreshRateMillis)
Set the optiondRefreshRateMillis.

Parameters:
optiondRefreshRateMillis - the optiondRefreshRateMillis.
Throws:
IllegalArgumentException - if the refresh rate is not positive

getOptiondRefreshRate

public int getOptiondRefreshRate()
Get the optionDRefreshRate in seconds

Returns:
the optionDRefreshRate in seconds

setOptiondRefreshRate

public void setOptiondRefreshRate(int optionDRefreshRateSeconds)
Set the optiondRefreshRateMillis in seconds.

Parameters:
optionDRefreshRateSeconds - the optionDRefreshRate in seconds
Throws:
IllegalArgumentException - if the refresh rate is not positive

getContainerPoolConf

public Element getContainerPoolConf()

setContainerPoolConf

public void setContainerPoolConf(Element containerPoolConf)

getContainerCacheConf

public Element getContainerCacheConf()

setContainerCacheConf

public void setContainerCacheConf(Element containerCacheConf)

getContainerInterceptors

public Element getContainerInterceptors()

setContainerInterceptors

public void setContainerInterceptors(Element containerInterceptorsConf)

getDepends

public Set<String> getDepends()
Get the depends.

Returns:
the depends.

setDepends

public void setDepends(Set<String> depends)
Set the depends.

Parameters:
depends - the depends.
Throws:
IllegalArgumentException - for a null depends

getInvokerProxyBindingNames

public Set<String> getInvokerProxyBindingNames()
Get the invokerProxyBindingNames.

Returns:
the invokerProxyBindingNames.

setInvokerProxyBindingNames

public void setInvokerProxyBindingNames(Set<String> invokerProxyBindingNames)
Set the invokerProxyBindingNames.

Parameters:
invokerProxyBindingNames - the invokerProxyBindingNames.
Throws:
IllegalArgumentException - for a null invokerProxyBindingNames

getDefaultInvokerName

public String getDefaultInvokerName()
Get the default invoker name

Returns:
the default invoker
Throws:
IllegalStateException - when there are no invoker proxy binding names

getClusterConfig

public ClusterConfigMetaData getClusterConfig()
Get the clusterConfig.

Returns:
the clusterConfig.

setClusterConfig

public void setClusterConfig(ClusterConfigMetaData clusterConfig)
Set the clusterConfig.

Parameters:
clusterConfig - the clusterConfig.
Throws:
IllegalArgumentException - for a null clusterConfig


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.