oracle.cabo.data.jbo.def
Class RootAppModuleDefImpl
java.lang.Object
|
+--oracle.cabo.data.jbo.def.NamedObjectDefImpl
|
+--oracle.cabo.data.jbo.def.AppModuleDefImpl
|
+--oracle.cabo.data.jbo.def.RootAppModuleDefImpl
- All Implemented Interfaces:
- AppModuleDef, RootAppModuleDef
- public class RootAppModuleDefImpl
- extends AppModuleDefImpl
- implements RootAppModuleDef
BC4J root ApplicationModule definition implementation.
Method Summary |
boolean |
getAcquireLock()
Returns whether to acquire a lock for this ApplicationModule during checkout from the ApplicationPool. |
java.lang.String |
getConfigName()
Returns the configuration name to use for the database connection. |
java.lang.String |
getDefinition()
Returns the definition to use for the database connection. |
java.lang.String |
getReleaseMode()
Returns the release mode for this root ApplicationModule; stateful, stateless or reserved. |
long |
getWaitTimeout()
Returns the maximum number of milliseconds to wait while attempting to acquire the lock. |
void |
setAcquireLock(boolean acquireLock)
Sets whether to acquire a lock for this ApplicationModule during checkout from the ApplicationPool. |
void |
setConfigName(java.lang.String configName)
Sets the configuration name to use for the database connection. |
void |
setDefinition(java.lang.String definition)
Sets the definition to use for the database connection. |
void |
setReleaseMode(java.lang.String releaseMode)
Sets the release mode for this root ApplicationModule; stateful, stateless or reserved. |
void |
setWaitTimeout(long waitTimeout)
Sets the maximum number of milliseconds to wait while attempting to acquire the lock. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootAppModuleDefImpl
public RootAppModuleDefImpl()
getDefinition
public java.lang.String getDefinition()
- Returns the definition to use for the database connection.
-
- Specified by:
getDefinition
in interface RootAppModuleDef
setDefinition
public void setDefinition(java.lang.String definition)
- Sets the definition to use for the database connection.
getConfigName
public java.lang.String getConfigName()
- Returns the configuration name to use for the database connection.
-
- Specified by:
getConfigName
in interface RootAppModuleDef
setConfigName
public void setConfigName(java.lang.String configName)
- Sets the configuration name to use for the database connection.
getAcquireLock
public boolean getAcquireLock()
- Returns whether to acquire a lock for this ApplicationModule during checkout from the ApplicationPool.
-
- Specified by:
getAcquireLock
in interface RootAppModuleDef
setAcquireLock
public void setAcquireLock(boolean acquireLock)
- Sets whether to acquire a lock for this ApplicationModule during checkout from the ApplicationPool.
getWaitTimeout
public long getWaitTimeout()
- Returns the maximum number of milliseconds to wait while attempting to acquire the lock.
-
- Specified by:
getWaitTimeout
in interface RootAppModuleDef
setWaitTimeout
public void setWaitTimeout(long waitTimeout)
- Sets the maximum number of milliseconds to wait while attempting to acquire the lock.
getReleaseMode
public java.lang.String getReleaseMode()
- Returns the release mode for this root ApplicationModule; stateful, stateless or reserved.
-
- Specified by:
getReleaseMode
in interface RootAppModuleDef
setReleaseMode
public void setReleaseMode(java.lang.String releaseMode)
- Sets the release mode for this root ApplicationModule; stateful, stateless or reserved.