|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EZBServer
Defines an EasyBeans server.
| Field Summary | |
|---|---|
static String |
NAMING_EXTENSION_POINT
This is the topic where naming events will be send. |
| Method Summary | ||
|---|---|---|
void |
addContainer(EZBContainer container)
Add an already created container. |
|
EZBContainer |
createContainer(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Creates and adds an ejb3 container to the managed container. |
|
EZBContainer |
findContainer(org.ow2.util.archive.api.IArchive archive)
Gets a container managed by this server. |
|
|
getComponent(Class<T> itf)
Get a reference to the first component matching the interface. |
|
EZBComponentManager |
getComponentManager()
|
|
EZBContainer |
getContainer(String id)
Gets a container managed by this server. |
|
Map<String,EZBContainer> |
getContainers()
|
|
org.ow2.util.ee.deploy.api.deployer.IDeployerManager |
getDeployerManager()
|
|
String |
getDescription()
Gets a description of the embedded server. |
|
List<Class<? extends EasyBeansInterceptor>> |
getGlobalInterceptorsClasses()
List of global interceptors classes to use. |
|
Integer |
getID()
Gets the id of this embedded server. |
|
EZBServerJNDIResolver |
getJNDIResolver()
|
|
EZBManagementPool |
getManagementThreadPool()
|
|
EZBServerConfig |
getServerConfig()
|
|
boolean |
isStarted()
|
|
boolean |
isStopped()
|
|
boolean |
isStopping()
|
|
void |
removeContainer(EZBContainer container)
Remove a given container. |
|
void |
setDeployerManager(org.ow2.util.ee.deploy.api.deployer.IDeployerManager deployerManager)
Allows to set the deployer manager. |
|
void |
setManagementThreadPool(EZBManagementPool managementThreadPool)
Defines the management thread pool. |
|
void |
stop()
Stop the server. |
|
| Methods inherited from interface org.ow2.easybeans.api.EZBJ2EEManagedObject |
|---|
getJ2EEManagedObjectId |
| Field Detail |
|---|
static final String NAMING_EXTENSION_POINT
| Method Detail |
|---|
Integer getID()
String getDescription()
EZBContainer createContainer(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
deployable - the container deployable.
void addContainer(EZBContainer container)
container - the EZBContainer to be added.EZBContainer getContainer(String id)
id - the container id.
EZBContainer findContainer(org.ow2.util.archive.api.IArchive archive)
archive - the archive used by the given container.
void removeContainer(EZBContainer container)
container - the container to be removed.Map<String,EZBContainer> getContainers()
EZBComponentManager getComponentManager()
EZBServerJNDIResolver getJNDIResolver()
org.ow2.util.ee.deploy.api.deployer.IDeployerManager getDeployerManager()
void setDeployerManager(org.ow2.util.ee.deploy.api.deployer.IDeployerManager deployerManager)
deployerManager - the Deployer manager.EZBManagementPool getManagementThreadPool()
void setManagementThreadPool(EZBManagementPool managementThreadPool)
managementThreadPool - the management pool used to managed the pools (creating instance, etc.)
void stop()
throws EZBServerException
EZBServerException - if there is a failure.boolean isStopped()
boolean isStopping()
boolean isStarted()
EZBServerConfig getServerConfig()
List<Class<? extends EasyBeansInterceptor>> getGlobalInterceptorsClasses()
<T extends EZBComponent> T getComponent(Class<T> itf)
getComponent in interface EZBJ2EEManagedObjectT - The interface type.itf - The interface class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||