org.apache.jk.common
public class JniHandler extends JkHandler
| Field Summary | |
|---|---|
| protected AprImpl | apr |
| protected String | jkHome |
| static int | JK_HANDLE_JNI_DISPATCH |
| static int | JK_HANDLE_SHM_DISPATCH |
| static int | MB_NOTE |
| static int | MSG_NOTE |
| protected long | nativeJkHandlerP |
| Constructor Summary | |
|---|---|
| JniHandler() | |
| Method Summary | |
|---|---|
| void | appendString(Msg msg, String s, C2BConverter charsetDecoder) |
| MsgContext | createMsgContext() Create a msg context to be used with the shm channel |
| void | destroyJkComponent() |
| String | getJkHome() |
| void | init() You must call initNative() inside the component init() |
| void | initJkComponent() |
| protected void | initNative(String nativeComponentName) |
| int | invoke(Msg msg, MsgContext ep) Base implementation for invoke. |
| protected int | nativeDispatch(Msg msg, MsgContext ep, int code, int raw) send and get the response in the same buffer. |
| void | pause() |
| protected void | recycleNative(MsgContext ep) |
| void | resume() |
| void | setJkHome(String s) |
| void | setNativeAttribute(String name, String val) |
| protected void | setNativeEndpoint(MsgContext msgCtx) |