|
||||||||||
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()
Return the Adapter supported. |
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()
Start listening for request. |
void |
pause()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName oname)
|
String |
protocol()
The protocol supported by this listener. |
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()
Start the protocol. |
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 JkHandler
public String getProperty(String name)
getProperty
in class JkHandler
public Iterator getAttributeNames()
public void setAttribute(String name, Object value)
setAttribute
in interface ProtocolHandler
public Object getAttribute(String name)
getAttribute
in interface ProtocolHandler
public void setAdapter(Adapter adapter)
setAdapter
in interface GrizzlyListener
setAdapter
in interface ProtocolHandler
public Adapter getAdapter()
GrizzlyListener
Adapter
supported.
getAdapter
in interface GrizzlyListener
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 Exception
pause
in class JkHandler
Exception
public void resume() throws Exception
resume
in class JkHandler
Exception
public void destroy()
JkHandler
destroy
in interface ProtocolHandler
destroy
in class JkHandler
public int invoke(Msg msg, MsgContext ep) throws IOException
invoke
in class JkHandler
IOException
public ObjectName preRegister(MBeanServer server, ObjectName oname) throws Exception
preRegister
in interface MBeanRegistration
preRegister
in class JkHandler
Exception
public String protocol()
GrizzlyListener
protocol
in interface GrizzlyListener
public void listen() throws IOException, InstantiationException
GrizzlyListener
listen
in interface GrizzlyListener
IOException
InstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |