|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 JkHandlerpublic java.lang.String getProperty(java.lang.String name)
getProperty in class JkHandlerpublic java.util.Iterator getAttributeNames()
getAttributeNames in interface ProtocolHandler
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface ProtocolHandlerpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface ProtocolHandlerpublic void setAdapter(Adapter adapter)
setAdapter in interface ProtocolHandlerpublic Adapter getAdapter()
getAdapter in interface ProtocolHandlerpublic JkMain getJkMain()
public void init()
init in interface ProtocolHandlerinit in class JkHandlerpublic void start()
ProtocolHandler
start in interface ProtocolHandler
public void pause()
throws java.lang.Exception
ProtocolHandler
pause in interface ProtocolHandlerpause in class JkHandlerjava.lang.Exception
public void resume()
throws java.lang.Exception
ProtocolHandler
resume in interface ProtocolHandlerresume in class JkHandlerjava.lang.Exceptionpublic void destroy()
JkHandler
destroy in interface ProtocolHandlerdestroy in class JkHandler
public int invoke(Msg msg,
MsgContext ep)
throws java.io.IOException
invoke in class JkHandlerjava.io.IOException
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName oname)
throws java.lang.Exception
preRegister in interface javax.management.MBeanRegistrationpreRegister in class JkHandlerjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||