org.apache.jk.server

Class JkCoyoteHandler

public class JkCoyoteHandler extends JkHandler implements ProtocolHandler

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 JkMainjkMain
protected static Loglog
Method Summary
voiddestroy()
AdaptergetAdapter()
ObjectgetAttribute(String name)
Retrieve config info.
IteratorgetAttributeNames()
JkMaingetJkMain()
StringgetProperty(String name)
voidinit()
Start the protocol
intinvoke(Msg msg, MsgContext ep)
voidpause()
ObjectNamepreRegister(MBeanServer server, ObjectName oname)
voidresume()
voidsetAdapter(Adapter adapter)
The adapter, used to call the connector
voidsetAttribute(String name, Object value)
Pass config info
voidsetProperty(String name, String value)
Set a property.
voidstart()

Field Detail

jkMain

protected JkMain jkMain

log

protected static Log log

Method Detail

destroy

public void destroy()

getAdapter

public Adapter getAdapter()

getAttribute

public Object getAttribute(String name)
Retrieve config info. Primarily for use with the admin webapp.

getAttributeNames

public Iterator getAttributeNames()

getJkMain

public JkMain getJkMain()

getProperty

public String getProperty(String name)

init

public void init()
Start the protocol

invoke

public int invoke(Msg msg, MsgContext ep)

pause

public void pause()

preRegister

public ObjectName preRegister(MBeanServer server, ObjectName oname)

resume

public void resume()

setAdapter

public void setAdapter(Adapter adapter)
The adapter, used to call the connector

setAttribute

public void setAttribute(String name, Object value)
Pass config info

setProperty

public void setProperty(String name, String value)
Set a property. Name is a "component.property". JMX should be used instead.

start

public void start()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.