Package org.apache.tomee.embedded
Class Container
java.lang.Object
org.apache.tomee.embedded.Container
- All Implemented Interfaces:
AutoCloseable
- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.catalina.ContextaddContext(String context, String path) voidawait()voidclose()protected org.apache.catalina.connector.Connectordeploy(Container.DeploymentRequest request) deployClasspathAsWebApp(String context, File docBase, boolean singleClassLoader) deployClasspathAsWebApp(String context, File docBase, String... dependencies) deployClasspathAsWebApp(String context, File docBase, List<String> callers, boolean singleLoader, String... dependencies) deployPathsAsWebapp(File... jarList) deployPathsAsWebapp(String context, List<URL> jarList, File docBase, boolean keepClassloader, String... additionalCallers) getAppContexts(String moduleId) getBase()voidsetup(Configuration configuration) voidstart()voidstop()void
-
Field Details
-
configuration
-
-
Constructor Details
-
Container
-
Container
public Container()
-
-
Method Details
-
deployClasspathAsWebApp
-
deployClasspathAsWebApp
-
deployClasspathAsWebApp
-
deployClasspathAsWebApp
-
deployClasspathAsWebApp
-
deployPathsAsWebapp
-
deployPathsAsWebapp
-
deployPathsAsWebapp
-
deploy
-
setup
-
getBase
-
start
- Throws:
Exception
-
createConnector
protected org.apache.catalina.connector.Connector createConnector() -
getConfigurationFactory
-
stop
- Throws:
Exception
-
deploy
public AppContext deploy(String name, File file) throws OpenEJBException, IOException, NamingException -
deploy
public AppContext deploy(String name, File file, boolean overrideName) throws OpenEJBException, IOException, NamingException -
getInfo
-
undeploy
-
getJndiContext
-
getAppContexts
-
getTomcat
-
await
public void await() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
addContext
-
inject
-
getConfiguration
-