|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.servlet.connectionMethods.EnhydraDirector.DirectorProtocol
Field Summary | |
protected java.util.Hashtable |
attributes
|
protected java.lang.String |
domain
|
protected EnhydraDirectorConnectionMethod |
endPoint
|
protected javax.management.MBeanServer |
mserver
|
protected javax.management.ObjectName |
oname
|
Constructor Summary | |
DirectorProtocol()
|
Method Summary | |
void |
destroy()
|
protected void |
findConnector()
|
org.apache.coyote.Adapter |
getAdapter()
|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Iterator |
getAttributeNames()
|
java.lang.String |
getAuthKey()
Get the authentication key for this connection. |
int |
getBacklog()
|
java.lang.String |
getBindAddress()
Gets the current Bind address, if any. |
int |
getClientTimeout()
Gets the client timeout associated with this connection method. |
java.lang.String |
getDomain()
|
boolean |
getEmptySessionPath()
|
int |
getNumThreads()
Gets the maximum number of handler threads associated with this connection method. |
javax.management.ObjectName |
getObjectName()
|
int |
getPort()
Gets the port associated with this connection method. |
java.lang.String |
getPrefixHint()
getPrefixHint() and setPrefixHint(). |
int |
getQueueSize()
Gets the maximum queue size associated with this connection method. |
boolean |
getRebalanceIfSessionExpired()
|
boolean |
getSessionAffinity()
getSessionAffinity() and setSessionAffinity(). |
int |
getSoTimeout()
|
boolean |
getTcpNoDelay()
|
int |
getThreadTimeout()
Gets the thread timeout associated with this connection method. |
java.lang.String |
getURIEncoding()
|
boolean |
getUseBodyEncodingForURI()
|
void |
init()
|
void |
pause()
|
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
void |
resume()
|
void |
setAdapter(org.apache.coyote.Adapter adapter)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setAuthKey(java.lang.String authKey)
Set the authentication key for this connection. |
void |
setBacklog(int i)
|
void |
setBindAddress(java.lang.String addr)
Sets the current Bind address, if any. |
void |
setClientTimeout(int clientTimeout)
|
void |
setEmptySessionPath(boolean value)
|
void |
setNumThreads(int numThreads)
|
void |
setPort(int port)
|
void |
setPrefixHint(java.lang.String hint)
|
void |
setQueueSize(int queueSize)
|
void |
setRebalanceIfSessionExpired(boolean value)
|
void |
setSessionAffinity(boolean sessionAffinity)
|
void |
setSoTimeout(int clientTimeout)
|
void |
setTcpNoDelay(boolean b)
|
void |
setThreadTimeout(int threadTimeout)
|
void |
setURIEncoding(java.lang.String enc)
|
void |
setUseBodyEncodingForURI(boolean use)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable attributes
protected EnhydraDirectorConnectionMethod endPoint
protected java.lang.String domain
protected javax.management.ObjectName oname
protected javax.management.MBeanServer mserver
Constructor Detail |
public DirectorProtocol()
Method Detail |
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface org.apache.coyote.ProtocolHandler
public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface org.apache.coyote.ProtocolHandler
public java.util.Iterator getAttributeNames()
getAttributeNames
in interface org.apache.coyote.ProtocolHandler
public void setAdapter(org.apache.coyote.Adapter adapter)
setAdapter
in interface org.apache.coyote.ProtocolHandler
public org.apache.coyote.Adapter getAdapter()
getAdapter
in interface org.apache.coyote.ProtocolHandler
public void init() throws java.lang.Exception
init
in interface org.apache.coyote.ProtocolHandler
java.lang.Exception
public void start() throws java.lang.Exception
start
in interface org.apache.coyote.ProtocolHandler
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public int getPort()
public void setPort(int port)
public java.lang.String getBindAddress()
public boolean getTcpNoDelay()
public void setTcpNoDelay(boolean b)
public int getBacklog()
public void setBacklog(int i)
public boolean getUseBodyEncodingForURI()
public void setUseBodyEncodingForURI(boolean use)
public java.lang.String getURIEncoding()
public void setURIEncoding(java.lang.String enc)
public void setBindAddress(java.lang.String addr)
public java.lang.String getPrefixHint()
public void setPrefixHint(java.lang.String hint)
public boolean getSessionAffinity()
public void setSessionAffinity(boolean sessionAffinity)
public java.lang.String getAuthKey()
Returns null
if authentication is not required of clients.
null
if none.public void setAuthKey(java.lang.String authKey)
Set to null
if authentication with clients is not needed.
We don't allow auth key of all whitespace because it is most likely the result of accidental data entry in an otherwise blank 'key' field.
authKey
- The new authtication key, or null
if
authentication is not needed.public int getNumThreads()
public void setNumThreads(int numThreads)
public int getQueueSize()
public void setQueueSize(int queueSize)
public int getClientTimeout()
public void setClientTimeout(int clientTimeout)
public int getSoTimeout()
public void setSoTimeout(int clientTimeout)
public boolean getRebalanceIfSessionExpired()
public void setRebalanceIfSessionExpired(boolean value)
public boolean getEmptySessionPath()
public void setEmptySessionPath(boolean value)
public int getThreadTimeout()
public void setThreadTimeout(int threadTimeout)
public void pause() throws java.lang.Exception
pause
in interface org.apache.coyote.ProtocolHandler
java.lang.Exception
public void resume() throws java.lang.Exception
resume
in interface org.apache.coyote.ProtocolHandler
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.apache.coyote.ProtocolHandler
java.lang.Exception
public javax.management.ObjectName getObjectName()
public java.lang.String getDomain()
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postRegister(java.lang.Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
protected void findConnector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |