org.apache.tomee.installer
Class Installer
java.lang.Object
org.apache.tomee.installer.Installer
public class Installer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Installer
public Installer(Paths paths)
Installer
public Installer(Paths paths,
boolean force)
isListenerInstalled
public static boolean isListenerInstalled()
isAgentInstalled
public static boolean isAgentInstalled()
getAlerts
public Alerts getAlerts()
reset
public void reset()
getStatus
public Installer.Status getStatus()
installAll
public void installAll()
installFull
public void installFull()
installListener
public void installListener()
installListener
public void installListener(String listener)
installJavaagent
public void installJavaagent()
installConfigFiles
public void installConfigFiles()
- Installs conf/tomee.xml and conf/logging.properties files.
This method retrieves the tomee.xml and logging.properties files
from openejb core jar file and installs them under the conf directory
of tomcat. if there is already a conf/logging.properties file available
then this method appends the contents of openejb logging.properties file
to the exisiting properties file.
Replace web.xml to set jasper in production mode instead of dev mode.
NOTE:- If the existing conf/logging.properties file already has some openejb specific
configuration, then this method will just leave the logging.properties file alone
invokeStaticNoArgMethod
public static Object invokeStaticNoArgMethod(String className,
String propertyName)
loadClass
public static Class<?> loadClass(String className,
ClassLoader classLoader)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.