org.apache.tomee.installer
Class Installer

java.lang.Object
  extended by org.apache.tomee.installer.Installer
All Implemented Interfaces:
InstallerInterface

public class Installer
extends Object
implements InstallerInterface


Constructor Summary
Installer(Paths paths)
           
Installer(Paths paths, boolean force)
           
 
Method Summary
 void addTomEEAdminConfInTomcatUsers()
           
 void addTomEEAdminConfInTomcatUsers(boolean securityActivated)
           
 Alerts getAlerts()
           
 PathsInterface getPaths()
           
 Status getStatus()
           
 void installAll()
           
 void installConfigFiles()
          Installs conf/tomee.xml and conf/logging.properties files.
 void installFull()
           
 void installJavaagent()
           
 void installListener()
           
 void installListener(String listener)
           
static boolean isAgentInstalled()
           
static boolean isListenerInstalled()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Installer

public Installer(Paths paths)

Installer

public Installer(Paths paths,
                 boolean force)
Method Detail

isListenerInstalled

public static boolean isListenerInstalled()

isAgentInstalled

public static boolean isAgentInstalled()

getPaths

public PathsInterface getPaths()
Specified by:
getPaths in interface InstallerInterface

getAlerts

public Alerts getAlerts()
Specified by:
getAlerts in interface InstallerInterface

reset

public void reset()
Specified by:
reset in interface InstallerInterface

getStatus

public Status getStatus()
Specified by:
getStatus in interface InstallerInterface

installAll

public void installAll()
Specified by:
installAll in interface InstallerInterface

addTomEEAdminConfInTomcatUsers

public void addTomEEAdminConfInTomcatUsers()

addTomEEAdminConfInTomcatUsers

public void addTomEEAdminConfInTomcatUsers(boolean securityActivated)

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



Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.