|
|||||||||
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 |
directoryScanningEnabled
Is the Directory scanning activated. |
private java.io.File |
ejb3Directory
Path where to lookup beans. |
private java.util.List<java.lang.String> |
extensionFactories
EasyBeansConfigurationExtension classname list. |
private boolean |
initJACC
Init JACC at startup ? |
private boolean |
shouldWait
Wait at the end of the start. |
private boolean |
useMBeans
Use of MBeans. |
private boolean |
useNaming
use EasyBeans naming mechanism or one of the embedded server. |
Constructor Summary | |
---|---|
ServerConfig()
|
Method Summary | |
---|---|
void |
addExtensionFactory(java.lang.String extension)
Adds an EasyBeansConfigurationExtension in the Facory list. |
java.io.File |
getEjb3Directory()
|
java.util.List<java.lang.String> |
getExtensionFactories()
|
boolean |
initJACC()
|
boolean |
isDirectoryScanningEnabled()
|
boolean |
isUsingMBeans()
Use or not the MBeans. |
boolean |
isUsingNaming()
Use or not the EasyBeans naming system. |
void |
setDirectoryScanningEnabled(boolean directoryScanningEnabled)
|
void |
setEjb3Path(java.lang.String ejb3Path)
Sets the path forloading/looking beans. |
void |
setInitJACC(boolean initJACC)
Init or not JACC at startup. |
void |
setShouldWait(boolean shouldWait)
Sets if the server will loop at the end of it's startup. |
void |
setUseMBeans(boolean useMBeans)
Sets the value for using MBeans. |
void |
setUseNaming(boolean useNaming)
Sets the value for using the EasyBeans naming system. |
boolean |
shouldWait()
|
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 shouldWait
private boolean initJACC
private boolean useMBeans
private boolean useNaming
private java.util.List<java.lang.String> extensionFactories
EasyBeansConfigurationExtension
classname list.
private boolean directoryScanningEnabled
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 shouldWait()
public void setShouldWait(boolean shouldWait)
shouldWait
- true/falsepublic boolean isUsingMBeans()
public void setUseMBeans(boolean useMBeans)
useMBeans
- the boolean value.public boolean isUsingNaming()
public void setUseNaming(boolean useNaming)
useNaming
- the boolean value.public void addExtensionFactory(java.lang.String extension)
EasyBeansConfigurationExtension
in the Facory list.
extension
- the factory FQN.public java.util.List<java.lang.String> getExtensionFactories()
EasyBeansConfigurationExtension
.public boolean isDirectoryScanningEnabled()
public void setDirectoryScanningEnabled(boolean directoryScanningEnabled)
directoryScanningEnabled
- the directoryScanningEnabled to setpublic void setInitJACC(boolean initJACC)
initJACC
- initialization of JACC provider.public boolean initJACC()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |