|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basistech.rlp.RLPEnvironmentBean
public class RLPEnvironmentBean
This class is provided to initialize the RLP Environment in a Spring IoC (or similiar) container. Applications should create bean of this type with scope='singleton' and use it to configure other Basis classes. In all cases, this class must be configured with
init-method='initialize'For example, a bean might be:
<bean id='rlp-env' class='com.basistech.rlp.RLPEnvironmentBean' init-method='initialize'> <property name='rootBean' ref='basis-root-bean-id'/> </bean>
Constructor Summary | |
---|---|
RLPEnvironmentBean()
Construct a placeholder; environment, environment definition and root bean are null. |
Method Summary | |
---|---|
void |
cleanup()
Close the environment and release resources. |
RLPEnvironment |
getEnvironment()
Retrieve the underlying RLPEnvironment object. |
String |
getEnvironmentDefinition()
Retrieve the XML definition for the environment. |
String |
getRlpLogLevel()
Retrieve the log level. |
BasisRootBean |
getRootBean()
Get the root bean. |
void |
initialize()
Initialize the environment from the parameters. |
void |
setEnvironmentDefinition(String environmentDefinition)
Set the XML definition for the environment. |
void |
setRlpLogLevel(String rlpLogLevel)
Set the log level. |
void |
setRootBean(BasisRootBean rootBean)
Set the root bean. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RLPEnvironmentBean()
Method Detail |
---|
public void initialize()
public void cleanup()
public RLPEnvironment getEnvironment()
public String getEnvironmentDefinition()
public void setEnvironmentDefinition(String environmentDefinition)
environmentDefinition
- the definition.public BasisRootBean getRootBean()
public void setRootBean(BasisRootBean rootBean)
rootBean
- the root bean.public String getRlpLogLevel()
public void setRlpLogLevel(String rlpLogLevel)
rlpLogLevel
- log level.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |