Save This Page
Home » apache-tomcat-6.0.26-src » org.apache.jk » server » [javadoc | source]
org.apache.jk.server
public class: JkCoyoteHandler [javadoc | source]
java.lang.Object
   org.apache.jk.core.JkHandler
      org.apache.jk.server.JkCoyoteHandler

All Implemented Interfaces:
    ProtocolHandler, NotificationListener, MBeanRegistration

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 static  Log log     
 int epNote     
 Adapter adapter     
protected  JkMain jkMain     
 boolean started     
Fields inherited from org.apache.jk.core.JkHandler:
OK,  LAST,  ERROR,  properties,  wEnv,  next,  nextName,  name,  id,  HANDLE_RECEIVE_PACKET,  HANDLE_SEND_PACKET,  HANDLE_FLUSH,  HANDLE_THREAD_END,  domain,  oname,  mserver
Method from org.apache.jk.server.JkCoyoteHandler Summary:
destroy,   getAdapter,   getAttribute,   getAttributeNames,   getJkMain,   getProperty,   init,   invoke,   pause,   preRegister,   resume,   setAdapter,   setAttribute,   setProperty,   start
Methods from org.apache.jk.core.JkHandler:
addHandlerCallback,   createMsgContext,   createMsgContext,   destroy,   getDomain,   getId,   getName,   getNext,   getObjectName,   getProperty,   handleNotification,   init,   invoke,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setId,   setName,   setNext,   setNext,   setProperty,   setWorkerEnv
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jk.server.JkCoyoteHandler Detail:
 public  void destroy() 
 public Adapter getAdapter() 
 public Object getAttribute(String name) 
    Retrieve config info. Primarily for use with the admin webapp.
 public Iterator getAttributeNames() 
 public JkMain getJkMain() 
 public String getProperty(String name) 
 public  void init() 
    Start the protocol
 public int invoke(Msg msg,
    MsgContext ep) throws IOException 
 public  void pause() throws Exception 
 public ObjectName preRegister(MBeanServer server,
    ObjectName oname) throws Exception 
 public  void resume() throws Exception 
 public  void setAdapter(Adapter adapter) 
    The adapter, used to call the connector
 public  void setAttribute(String name,
    Object value) 
    Pass config info
 public  void setProperty(String name,
    String value) 
    Set a property. Name is a "component.property". JMX should be used instead.
 public  void start()