public class OpenEJBListener
extends java.lang.Object
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(java.io.File src,
java.io.File dest) |
static boolean |
isListenerInstalled() |
void |
lifecycleEvent(LifecycleEvent event) |