|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
org.ow2.jonas.antmodular.jonasbase.wrapper.Wrapper
public class Wrapper
Wrapper ANT task
| Field Summary | |
|---|---|
static String |
DEFAULT_WRAPPER_HOME_DIRECTORY_NAME
Default wrapper directory name |
static String |
DELIMITER
Delimiter |
static String |
JAVA_COMMAND_PROPERTY
JAVA_HOME property |
static String |
JAVA_COMMAND_TOKEN
JAVA_HOME token |
static String |
JONAS_BASE_PROPERTY
JONAS_BASE property |
static String |
JONAS_BASE_TOKEN
JONAS_BASE token |
static String |
JONAS_ROOT_PROPERTY
JONAS_ROOT property |
static String |
JONAS_ROOT_TOKEN
JONAS_ROOT token |
static String |
JONAS_WRAPPER_BASE_CONF
JOnAS wrapper base conf |
static String |
JONAS_WRAPPER_SETENV_SH
Wrapper Setenv SH file |
static String |
JONAS_WRAPPER_START_CONF
JOnAS wrapper start conf |
static String |
JONAS_WRAPPER_STOP_CONF
JOnAS wrapper stop conf |
static String |
LOGFILE_PROPERTY
logfile property |
static String |
LOGFILE_ROLLMODE_PROPERTY
logfile rollmode property |
static String |
LOGFILE_ROLLMODE_TOKEN
logfile's rollmode token |
static String |
LOGFILE_TOKEN
logfile token |
static String |
SERVICE_DESCRIPTION_PROPERTY
OS service description property |
static String |
SERVICE_DESCRIPTION_TOKEN
OS service description token |
static String |
SERVICE_DISPLAYNAME
OS service display name property |
static String |
SERVICE_DISPLAYNAME_TOKEN
OS service display name token |
static String |
SERVICE_NAME_PROPERTY
OS service name property |
static String |
SERVICE_NAME_TOKEN
OS service name token |
static String |
SETENV_WRAPPER_BASE_PROPERTY
wrapper_base setenv property |
static String |
SETENV_WRAPPER_BASE_TOKEN
wrapper_base setenv token |
static String |
VERBOSITY_PROPERTY
Wrapper debug property |
static String |
VERBOSITY_TOKEN
Wrapper debug token |
static String |
WRAPPER_BASE_INCLUDE_PROPERTY
Wrapper base include property |
static String |
WRAPPER_BASE_INCLUDE_TOKEN
Wrapper base include token |
static String |
WRAPPER_BASE_VAR_PROPERTY
|
static String |
WRAPPER_BASE_VAR_TOKEN
|
static String |
WRAPPER_BIN_DIR
Wrapper bin directory |
static String |
WRAPPER_CONF_DIR
Wrapper conf directory |
static String |
WRAPPER_ROOT_PROPERTY
wrapper_root setenv property |
static String |
WRAPPER_ROOT_TOKEN
wrapper_root setenv token |
static String |
WRAPPER_STOP_INCLUDE_FILE
jonas_stop include file |
static String |
WRAPPER_STOP_INCLUDE_TOKEN
jonas stop include token |
| Fields inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
CONF_DIR, destDir, jonasRoot, tasks |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Wrapper()
Default constructor |
|
| Method Summary | |
|---|---|
void |
execute()
Execute this task. |
void |
setJavaHome(String javaHome)
|
void |
setLogfile(String logfile)
|
void |
setLogfileRollmode(LogfileRollmode logfileRollmode)
|
void |
setLogfileRollmode(String logfileRollmode)
|
void |
setServiceDescription(String serviceDescription)
|
void |
setServiceName(String serviceName)
|
void |
setVerbosity(Boolean verbosity)
|
void |
setWrapperHome(String wrapperHome)
|
| Methods inherited from class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask |
|---|
addTask, addTasks, createServiceNameReplace, executeAllTask, getJOnASBase, getJOnASRoot, getTasks, setDestDir |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JONAS_WRAPPER_START_CONF
public static final String JONAS_WRAPPER_STOP_CONF
public static final String JONAS_WRAPPER_BASE_CONF
public static final String DELIMITER
public static final String JAVA_COMMAND_PROPERTY
public static final String JAVA_COMMAND_TOKEN
public static final String JONAS_ROOT_PROPERTY
public static final String JONAS_ROOT_TOKEN
public static final String JONAS_BASE_PROPERTY
public static final String JONAS_BASE_TOKEN
public static final String LOGFILE_PROPERTY
public static final String LOGFILE_TOKEN
public static final String LOGFILE_ROLLMODE_PROPERTY
public static final String LOGFILE_ROLLMODE_TOKEN
public static final String SERVICE_NAME_PROPERTY
public static final String SERVICE_NAME_TOKEN
public static final String SERVICE_DISPLAYNAME
public static final String SERVICE_DISPLAYNAME_TOKEN
public static final String SERVICE_DESCRIPTION_PROPERTY
public static final String SERVICE_DESCRIPTION_TOKEN
public static final String VERBOSITY_PROPERTY
public static final String VERBOSITY_TOKEN
public static final String DEFAULT_WRAPPER_HOME_DIRECTORY_NAME
public static final String JONAS_WRAPPER_SETENV_SH
public static final String WRAPPER_BASE_INCLUDE_PROPERTY
public static final String WRAPPER_CONF_DIR
public static final String WRAPPER_BIN_DIR
public static final String WRAPPER_BASE_INCLUDE_TOKEN
public static final String WRAPPER_STOP_INCLUDE_FILE
public static final String WRAPPER_STOP_INCLUDE_TOKEN
public static final String WRAPPER_ROOT_PROPERTY
public static final String WRAPPER_ROOT_TOKEN
public static final String SETENV_WRAPPER_BASE_PROPERTY
public static final String SETENV_WRAPPER_BASE_TOKEN
public static final String WRAPPER_BASE_VAR_PROPERTY
public static final String WRAPPER_BASE_VAR_TOKEN
| Constructor Detail |
|---|
public Wrapper()
| Method Detail |
|---|
public void setJavaHome(String javaHome)
javaHome - The path to the JAVA_HOME to setpublic void setWrapperHome(String wrapperHome)
wrapperHome - wrapperpublic void setServiceName(String serviceName)
serviceName - The name of the OS servicepublic void setLogfileRollmode(LogfileRollmode logfileRollmode)
logfileRollmode - The rollmode of the logfile to setpublic void setLogfileRollmode(String logfileRollmode)
logfileRollmode - The rollmode of the logfile to setpublic void setVerbosity(Boolean verbosity)
verbosity - Verbosity modepublic void setServiceDescription(String serviceDescription)
serviceDescription - Service description to setpublic void setLogfile(String logfile)
logfile - log file to setpublic void execute()
execute in class org.ow2.jonas.antmodular.jonasbase.bootstrap.AbstractJOnASBaseAntTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||