public class OpenEJBListener extends Object implements org.apache.catalina.LifecycleListener
TomcatEmbedder.embed(java.util.Properties, java.lang.ClassLoader) method
This is an alternate way to load the Tomcat integration
This approach is mutually exclussive to the LoaderServlet
This class does nothing more than scrape around in
Tomcat and look for the tomee.war so it can call the embedder
This class can be installed in the Tomcat server.xml as an alternate
way to bootstrap OpenEJB into Tomcat. The benefit of this is that
OpenEJB is guaranteed to start before all webapps.| Constructor and Description |
|---|
OpenEJBListener() |
| Modifier and Type | Method and Description |
|---|---|
static void |
extract(File src,
File dest) |
static boolean |
isListenerInstalled() |
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event) |
public static boolean isListenerInstalled()
public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent in interface org.apache.catalina.LifecycleListenerpublic static void extract(File src, File dest) throws IOException
IOExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.