|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.server.ServerConfig
public class ServerConfig
Defines a configuration class that can be used to start the embedded EJB3 server.
Field Summary | |
---|---|
private boolean |
dummyDataSourceHSQL
Start a dummy DS implementation based on HSQL. |
private java.io.File |
ejb3Directory
Path where to lookup beans. |
private boolean |
shouldWait
Wait at the end of the start. |
private boolean |
startRegistry
Launches the registry. By default, it's true. |
private boolean |
startTM
Launches the Transaction manager. By default, it's true. |
private boolean |
useMBeans
Use of MBeans. |
Constructor Summary | |
---|---|
ServerConfig()
|
Method Summary | |
---|---|
boolean |
bindDummyDataSourceHSQL()
|
java.io.File |
getEjb3Directory()
|
boolean |
isUsingMBeans()
Use or not the MBeans. |
void |
setBindDummyDataSourceHSQL(boolean dummyDataSourceHSQL)
Sets the flag to bind or not a dummy datasource. |
void |
setEjb3Path(java.lang.String ejb3Path)
Sets the path forloading/looking beans. |
void |
setShouldWait(boolean shouldWait)
Sets if the server will loop at the end of it's startup. |
void |
setStartRegistry(boolean startRegistry)
Sets the flag to start or not the registry. |
void |
setStartTM(boolean startTM)
Sets the flag to start or not the TM. |
void |
setUseMBeans(boolean useMBeans)
Sets the value for using MBeans. |
boolean |
shouldWait()
|
boolean |
startRegistry()
|
boolean |
startTM()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.io.File ejb3Directory
private boolean startRegistry
private boolean startTM
private boolean dummyDataSourceHSQL
private boolean shouldWait
private boolean useMBeans
Constructor Detail |
---|
public ServerConfig()
Method Detail |
---|
public java.io.File getEjb3Directory()
public void setEjb3Path(java.lang.String ejb3Path)
ejb3Path
- the path for loading beans.public boolean startRegistry()
public boolean startTM()
public boolean bindDummyDataSourceHSQL()
public void setStartRegistry(boolean startRegistry)
startRegistry
- true/false.public void setStartTM(boolean startTM)
startTM
- true/false.public void setBindDummyDataSourceHSQL(boolean dummyDataSourceHSQL)
dummyDataSourceHSQL
- true/false.public boolean shouldWait()
public void setShouldWait(boolean shouldWait)
shouldWait
- true/falsepublic boolean isUsingMBeans()
public void setUseMBeans(boolean useMBeans)
useMBeans
- the boolean value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |