|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EJB Service interface.
Method Summary | |
void |
checkGenIC(java.lang.String fileName,
java.net.URL[] urls)
Check that GenIC have been applied on the given ejb-jar file If it was not done, it run GenIC against the file. |
java.lang.String |
createContainer(javax.naming.Context ctx)
Create a JOnAS Container for all the beans that are described in a .xml file, or belong to .jar file. |
java.lang.String |
createContainer(java.lang.String fileName)
|
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)
|
java.lang.String |
getEjbjarsDirectory()
Return the Ejbjars directory. |
JWorkManager |
getWorkManager()
Get the workManager |
java.lang.Boolean |
isJarDeployed(java.lang.String fileName)
Test if the specified file is already deployed (if a container is created for this jar). |
boolean |
isJarDeployedByWorkName(java.lang.String workFileName)
Test if the specified jar identified with its work name is already deployed (if a container is created for this 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 |
removeContainer(java.lang.String fileName)
|
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 java.lang.String createContainer(javax.naming.Context ctx) throws java.lang.Exception
ctx
- JNDI context in which is found the container configuration.
java.lang.Exception
public java.lang.String createContainer(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
public java.lang.Boolean isJarDeployed(java.lang.String fileName)
fileName
- the name of the jar file
public boolean isJarDeployedByWorkName(java.lang.String workFileName)
workFileName
- the internal name of the jar file (working copy)
public Container getContainer(java.lang.String fileName)
public void removeContainer(Container cont)
cont
- JOnAS container to remove.public void removeContainer(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
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.public java.lang.String getEjbjarsDirectory()
public void checkGenIC(java.lang.String fileName, java.net.URL[] urls)
fileName
- given EJB-JAR file.urls
- Array of URLs used as CLASSPATH during EJB compilationpublic JWorkManager getWorkManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |