|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.jk.core.JkHandler
com.sun.grizzly.http.jk.server.JkCoyoteHandler
public class 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="com.sun.grizzly.tcp.ACTION_COMMIT
| Field Summary | |
|---|---|
protected JkMain |
jkMain
|
| Fields inherited from class com.sun.grizzly.http.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()
|
Object |
getAttribute(String name)
Retrieve config info. |
Iterator |
getAttributeNames()
|
JkMain |
getJkMain()
|
String |
getProperty(String name)
|
void |
init()
Start the protocol |
int |
invoke(Msg msg,
MsgContext ep)
|
void |
listen()
|
void |
pause()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName oname)
|
String |
protocol()
|
void |
resume()
|
void |
setAdapter(Adapter adapter)
The adapter, used to call the connector |
void |
setAttribute(String name,
Object value)
Pass config info |
void |
setProperty(String name,
String value)
Set a property. |
void |
start()
|
| Methods inherited from class com.sun.grizzly.http.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 JkMain jkMain
| Constructor Detail |
|---|
public JkCoyoteHandler()
| Method Detail |
|---|
public void setProperty(String name,
String value)
setProperty in class JkHandlerpublic String getProperty(String name)
getProperty in class JkHandlerpublic Iterator getAttributeNames()
public void setAttribute(String name,
Object value)
setAttribute in interface ProtocolHandlerpublic Object getAttribute(String name)
getAttribute in interface ProtocolHandlerpublic void setAdapter(Adapter adapter)
setAdapter in interface GrizzlyListenersetAdapter in interface ProtocolHandlerpublic Adapter getAdapter()
getAdapter in interface GrizzlyListenergetAdapter in interface ProtocolHandlerpublic JkMain getJkMain()
public void init()
init in interface ProtocolHandlerinit in class JkHandlerpublic void start()
start in interface ProtocolHandler
public void pause()
throws Exception
pause in class JkHandlerException
public void resume()
throws Exception
resume in class JkHandlerExceptionpublic void destroy()
JkHandler
destroy in interface ProtocolHandlerdestroy in class JkHandler
public int invoke(Msg msg,
MsgContext ep)
throws IOException
invoke in class JkHandlerIOException
public ObjectName preRegister(MBeanServer server,
ObjectName oname)
throws Exception
preRegister in interface MBeanRegistrationpreRegister in class JkHandlerExceptionpublic String protocol()
protocol in interface GrizzlyListener
public void listen()
throws IOException,
InstantiationException
listen in interface GrizzlyListenerIOException
InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||