|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jk.core.JkHandler org.apache.jk.server.JkCoyoteHandler
Plugs Jk into Coyote. Must be named "type=JkHandler,name=container" jmx:notification-handler name="org.apache.jk.SEND_PACKET jmx:notification-handler name="org.apache.coyote.ACTION_COMMIT
Field Summary | |
protected JkMain |
jkMain
|
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.jk.core.JkHandler |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv |
Constructor Summary | |
JkCoyoteHandler()
|
Method Summary | |
void |
destroy()
Clean up and stop the handler |
Adapter |
getAdapter()
|
java.lang.Object |
getAttribute(java.lang.String name)
Retrieve config info. |
java.util.Iterator |
getAttributeNames()
|
JkMain |
getJkMain()
|
java.lang.String |
getProperty(java.lang.String name)
|
void |
init()
Start the protocol |
int |
invoke(Msg msg,
MsgContext ep)
|
void |
pause()
Pause the protocol (optional). |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName oname)
|
void |
resume()
Resume the protocol (optional). |
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Pass config info |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property. |
void |
start()
Start the protocol. |
Methods inherited from class org.apache.jk.core.JkHandler |
addHandlerCallback, createMsgContext, createMsgContext, getDomain, getId, getName, getNext, getObjectName, handleNotification, postDeregister, postRegister, preDeregister, setId, setName, setNext, setNext, setWorkerEnv |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
protected JkMain jkMain
Constructor Detail |
public JkCoyoteHandler()
Method Detail |
public void setProperty(java.lang.String name, java.lang.String value)
setProperty
in class JkHandler
public java.lang.String getProperty(java.lang.String name)
getProperty
in class JkHandler
public java.util.Iterator getAttributeNames()
getAttributeNames
in interface ProtocolHandler
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface ProtocolHandler
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface ProtocolHandler
public void setAdapter(Adapter adapter)
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
getAdapter
in interface ProtocolHandler
public JkMain getJkMain()
public void init()
init
in interface ProtocolHandler
init
in class JkHandler
public void start()
ProtocolHandler
start
in interface ProtocolHandler
public void pause() throws java.lang.Exception
ProtocolHandler
pause
in interface ProtocolHandler
pause
in class JkHandler
java.lang.Exception
public void resume() throws java.lang.Exception
ProtocolHandler
resume
in interface ProtocolHandler
resume
in class JkHandler
java.lang.Exception
public void destroy()
JkHandler
destroy
in interface ProtocolHandler
destroy
in class JkHandler
public int invoke(Msg msg, MsgContext ep) throws java.io.IOException
invoke
in class JkHandler
java.io.IOException
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName oname) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
preRegister
in class JkHandler
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |