|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
EJB Service interface.
| Method Summary | |
Container |
createContainer(javax.naming.Context ctx)
Create a JOnAS Container for all beans that are described in a .xml file or belong to .jar file. |
void |
deployJars(javax.naming.Context ctx)
Deploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader). |
Container |
getContainer(java.lang.String fileName)
Get the Container by its file name (.xml or .jar) |
Container[] |
listContainers()
List of all JOnAS Containers |
void |
removeCache(java.lang.ClassLoader earClassLoader)
Make a cleanup of the cache of deployment descriptor. |
void |
removeContainer(Container cont)
Remove a JOnAS Container. |
void |
syncAllEntities(boolean passivate)
Synchronized all entity bean containers |
void |
unDeployJars(java.net.URL[] urls)
Undeploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader). |
| Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
| Method Detail |
public Container createContainer(javax.naming.Context ctx)
throws java.lang.Exception
ctx - JNDI contect in which are found the container configuration.public Container getContainer(java.lang.String fileName)
public void removeContainer(Container cont)
cont - JOnAS container to remove.public Container[] listContainers()
public void syncAllEntities(boolean passivate)
passivate - passivate instances after synchronization.
public void deployJars(javax.naming.Context ctx)
throws ServiceException
ctx - the context containing the configuration
to deploy the ejbjars.ServiceException - if an error occurs during the deployment.public void unDeployJars(java.net.URL[] urls)
urls - the list of the urls of the ejb-jars to deploy.public void removeCache(java.lang.ClassLoader earClassLoader)
earClassLoader - the ClassLoader of the ear application to
remove from the cache.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||