org.apache.tomee.embedded
Class Container
java.lang.Object
org.apache.tomee.embedded.Container
public class Container
- extends Object
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected Configuration configuration
Container
public Container()
setup
public void setup(Configuration configuration)
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
deploy
public AppContext deploy(String name,
File file)
throws OpenEJBException,
IOException,
NamingException
- Throws:
OpenEJBException
IOException
NamingException
deploy
public AppContext deploy(String name,
File file,
boolean overrideName)
throws OpenEJBException,
IOException,
NamingException
- Throws:
OpenEJBException
IOException
NamingException
undeploy
public void undeploy(String name)
throws UndeployException,
NoSuchApplicationException
- Throws:
UndeployException
NoSuchApplicationException
getJndiContext
public Context getJndiContext()
getAppContexts
public AppContext getAppContexts(String moduleId)
await
public void await()
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.