org.apache.jk.server
public class JkMain extends Object implements MBeanRegistration
Field Summary | |
---|---|
protected String | domain |
protected MBeanServer | mserver |
protected ObjectName | oname |
Constructor Summary | |
---|---|
JkMain() |
Method Summary | |
---|---|
String | getChannelClassName() |
String | getDomain() |
String | getErr() |
long | getInitTime() The time it took to initialize jk ( ms) |
String | getJkHome() |
static JkMain | getJkMain() |
ObjectName | getObjectName() |
String | getOut() |
String | getPropertiesFile() |
Object | getProperty(String name)
Retrieve a property. |
long | getStartTime() The time it took to start jk ( ms ) |
String | getWorkerClassName() |
WorkerEnv | getWorkerEnv() |
void | init() |
static void | main(String[] args) |
void | pause() |
void | postDeregister() |
void | postRegister(Boolean registrationDone) |
void | preDeregister() |
ObjectName | preRegister(MBeanServer server, ObjectName name) |
void | resume() |
void | saveProperties() |
void | setBeanProperty(Object target, String name, String val) |
void | setChannelClassName(String name)
Set the channelClassName that will used to connect to
httpd. |
void | setErr(String s) |
void | setJkHome(String s) Set the base dir of jk2. |
void | setOut(String s) |
void | setPropertiesFile(String p) Load a .properties file into and set the values
into jk2 configuration. |
void | setProperty(String n, String v) Set a name/value as a jk2 property |
void | setPropertyString(String handlerN, String name, String val) |
void | setSaveProperties(boolean b) |
void | setWorkerClassName(String name)
Set the workerClassName that will handle the request.
|
void | setWorkerEnv(WorkerEnv wEnv) |
void | start() |
void | stop() |
channelClassName
that will used to connect to
httpd.workerClassName
that will handle the request.
( sort of 'pivot' in axis :-)