org.apache.tomee.catalina
Class TomcatLoader
java.lang.Object
org.apache.tomee.catalina.TomcatLoader
- All Implemented Interfaces:
- org.apache.openejb.loader.Loader
public class TomcatLoader
- extends Object
- implements org.apache.openejb.loader.Loader
Prerequisites
System properties that must be set:
openejb.home -> catalina.home
openejb.base -> catalina.base
tomee.war -> $tomee.war
tomcat.version if not set
tomcat.built if not set
Integration Actions
Setup ServiceJar: set openejb.provider.default -> org.apache.tomee
We therefore will load this file: META-INF/org.apache.openejb.tomcat/service-jar.xml
Init SystemInstance and OptionsLog
See ServiceUtils.DEFAULT_PROVIDER_URL
- Version:
- $Revision: 617255 $ $Date: 2008-01-31 13:58:36 -0800 (Thu, 31 Jan 2008) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOMEE_NOSHUTDOWNHOOK_PROP
public static final String TOMEE_NOSHUTDOWNHOOK_PROP
- See Also:
- Constant Field Values
TomcatLoader
public TomcatLoader()
init
@Deprecated
public void init(Properties properties)
throws Exception
- Deprecated.
- this method will be split in two to be able to use SystemInstance in between both invocations
ie use configuration before effective boot
- Specified by:
init in interface org.apache.openejb.loader.Loader
- Throws:
Exception
initSystemInstance
public void initSystemInstance(Properties properties)
throws Exception
- Throws:
Exception
initDefaults
public void initDefaults(Properties properties)
initialize
public void initialize(Properties properties)
throws Exception
- Throws:
Exception
destroy
public static void destroy()
- Destroy system.
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.