org.apache.jk.core
public class JkHandler extends Object implements MBeanRegistration, NotificationListener
Field Summary | |
---|---|
protected String | domain |
static int | ERROR |
static int | HANDLE_FLUSH |
static int | HANDLE_RECEIVE_PACKET |
static int | HANDLE_SEND_PACKET |
static int | HANDLE_THREAD_END |
protected int | id |
static int | LAST |
protected MBeanServer | mserver |
protected String | name |
protected JkHandler | next |
protected String | nextName |
protected ObjectName | oname |
static int | OK |
protected Properties | properties |
protected WorkerEnv | wEnv |
Method Summary | |
---|---|
void | addHandlerCallback(JkHandler w) Experimental, will be replaced. |
MsgContext | createMsgContext() |
MsgContext | createMsgContext(int bsize) |
void | destroy() Clean up and stop the handler |
String | getDomain() |
int | getId() |
String | getName() |
String | getNext() |
ObjectName | getObjectName() |
String | getProperty(String name) |
void | handleNotification(Notification notification, Object handback) |
void | init() Should register the request types it can handle,
same style as apache2. |
int | invoke(Msg msg, MsgContext mc) |
void | pause() |
void | postDeregister() |
void | postRegister(Boolean registrationDone) |
void | preDeregister() |
ObjectName | preRegister(MBeanServer server, ObjectName oname) |
void | resume() |
void | setId(int id) Set the id of the worker. |
void | setName(String s) Set the name of the handler. |
void | setNext(JkHandler h) Catalina-style "recursive" invocation.
|
void | setNext(String s) |
void | setProperty(String name, String value) |
void | setWorkerEnv(WorkerEnv we) |