|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EZBServerConfig
Defines the EasyBeans configuration.
| Method Summary | |
|---|---|
void |
addDeployDirectory(File deployDirectory)
Add a directory to the list of path for loading/looking Java EE modules. |
boolean |
addEmbeddedComponents()
|
void |
addExtensionFactory(EZBConfigurationExtension extension)
Adds an EZBConfigurationExtension in the Facory list. |
Map<String,Object> |
getConfigurationMap()
|
LinkedList<URL> |
getConfigurationURLs()
|
List<File> |
getDeployDirectories()
|
String |
getDescription()
|
List<EZBConfigurationExtension> |
getExtensionFactories()
|
boolean |
initJACC()
|
boolean |
isAutoConfigureComponents()
|
boolean |
isDirectoryScanningEnabled()
|
boolean |
isRegisterDeployerMBean()
|
boolean |
isRegisterJ2EEServerMBean()
|
boolean |
isStartJMXConnector()
|
boolean |
isStopComponentsDuringShutdown()
|
boolean |
isUsingLegacyNamingStrategy()
Use or not the EasyBeans v1 legacy naming strategy. |
boolean |
isUsingMBeans()
Use or not the MBeans. |
boolean |
isUsingNaming()
Use or not the EasyBeans naming system. |
void |
setAddEmbeddedComponents(boolean addEmbeddedComponents)
Sets the flag for adding before the startup the core components. |
void |
setAutoConfigureComponents(boolean autoConfigureComponents)
Sets the flag for managing components in EasyBeans. |
void |
setConfigurationMap(Map<String,Object> configurationMap)
Sets the configuration map. |
void |
setConfigurationURLs(LinkedList<URL> configurationURLs)
Sets the list of the URLs used to configure EasyBeans. |
void |
setDeployDirectories(List<File> deployDirectories)
Sets the list of path for loading/looking Java EE modules. |
void |
setDescription(String description)
Sets a description of the embedded server. |
void |
setDirectoryScanningEnabled(boolean directoryScanningEnabled)
|
void |
setInitJACC(boolean initJACC)
Init or not JACC at startup. |
void |
setRegisterDeployerMBean(boolean registerDeployerMBean)
Enable or disable the Deployer MBean. |
void |
setRegisterJ2EEServerMBean(boolean registerJ2EEServerMBean)
Enable or disable the J2EEServer MBean. |
void |
setShouldWait(boolean shouldWait)
Sets if the server will loop at the end of it's startup. |
void |
setStartJMXConnector(boolean startJMXConnector)
Enable or disable the JMX connector. |
void |
setStopComponentsDuringShutdown(boolean stopComponents)
Specify if the components should be stopped during shutdown sequence. |
void |
setUseLegacyNamingStrategy(boolean useLegacyNamingStrategy)
Sets the value for EasyBeans v1 legacy naming strategy. |
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()
|
| Method Detail |
|---|
List<File> getDeployDirectories()
void setDeployDirectories(List<File> deployDirectories)
deployDirectories - the list of path for loading/looking Java EE modules.void addDeployDirectory(File deployDirectory)
deployDirectory - a path for loading/looking Java EE modules.boolean shouldWait()
void setShouldWait(boolean shouldWait)
shouldWait - true/falseboolean isUsingMBeans()
void setUseMBeans(boolean useMBeans)
useMBeans - the boolean value.boolean isUsingNaming()
void setUseNaming(boolean useNaming)
useNaming - the boolean value.void addExtensionFactory(EZBConfigurationExtension extension)
EZBConfigurationExtension in the Facory list.
extension - the factory FQN.List<EZBConfigurationExtension> getExtensionFactories()
EZBConfigurationExtension.boolean isDirectoryScanningEnabled()
void setDirectoryScanningEnabled(boolean directoryScanningEnabled)
directoryScanningEnabled - the directoryScanningEnabled to setvoid setInitJACC(boolean initJACC)
initJACC - initialization of JACC provider.boolean initJACC()
void setAddEmbeddedComponents(boolean addEmbeddedComponents)
addEmbeddedComponents - the boolean valueboolean addEmbeddedComponents()
boolean isStartJMXConnector()
void setStartJMXConnector(boolean startJMXConnector)
startJMXConnector - true/false.boolean isRegisterDeployerMBean()
void setRegisterDeployerMBean(boolean registerDeployerMBean)
registerDeployerMBean - true/false.boolean isRegisterJ2EEServerMBean()
void setRegisterJ2EEServerMBean(boolean registerJ2EEServerMBean)
registerJ2EEServerMBean - true/false.boolean isAutoConfigureComponents()
void setAutoConfigureComponents(boolean autoConfigureComponents)
autoConfigureComponents - if true, managed by EasyBeansString getDescription()
void setDescription(String description)
description - a description of the embedded servervoid setStopComponentsDuringShutdown(boolean stopComponents)
stopComponents - true if components should be stopped during shutdown sequenceboolean isStopComponentsDuringShutdown()
LinkedList<URL> getConfigurationURLs()
void setConfigurationURLs(LinkedList<URL> configurationURLs)
configurationURLs - the list of URLsMap<String,Object> getConfigurationMap()
void setConfigurationMap(Map<String,Object> configurationMap)
configurationMap - the given mapboolean isUsingLegacyNamingStrategy()
void setUseLegacyNamingStrategy(boolean useLegacyNamingStrategy)
useLegacyNamingStrategy - the boolean value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||