org.ow2.jonas.ejb3
Interface IEasyBeansService

All Superinterfaces:
Service
All Known Implementing Classes:
EasyBeansService

public interface IEasyBeansService
extends Service

EZB Service interface.

Author:
Guillaume Sauthier

Method Summary
 void addContainer(org.ow2.easybeans.api.EZBContainer ejbContainer)
          Adds the given container.
 org.ow2.easybeans.api.EZBServer getEasyBeansServer()
          TODO Remove it when EarDeployer will use EasyBeans Deployer.
 boolean isEJB3DeployedByWorkName(String unpackName)
          Test if the specified unpack name is already deployed or not.
 void registerEmbeddedService()
          Register Embedded as an OSGi service.
 void removeContainer(org.ow2.easybeans.api.EZBContainer ejbContainer)
          Remove the given container.
 
Methods inherited from interface org.ow2.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Method Detail

getEasyBeansServer

org.ow2.easybeans.api.EZBServer getEasyBeansServer()
TODO Remove it when EarDeployer will use EasyBeans Deployer.

Returns:
the Embedded instance used by this service.

addContainer

void addContainer(org.ow2.easybeans.api.EZBContainer ejbContainer)
Adds the given container.

Parameters:
ejbContainer - the given container

removeContainer

void removeContainer(org.ow2.easybeans.api.EZBContainer ejbContainer)
Remove the given container.

Parameters:
ejbContainer - the given container

isEJB3DeployedByWorkName

boolean isEJB3DeployedByWorkName(String unpackName)
Test if the specified unpack name is already deployed or not. This method is defined in the IEasyBeansService interface.

Parameters:
unpackName - the name of the EJB3 file.
Returns:
true if the EJB3 is deployed, else false.

registerEmbeddedService

void registerEmbeddedService()
Register Embedded as an OSGi service.



Copyright ? 2009 OW2 Consortium. All Rights Reserved.