org.codehaus.wadi.tomcat55
Class TomcatManager
java.lang.Object
org.codehaus.wadi.tomcat55.TomcatManager
- All Implemented Interfaces:
- Lifecycle, Manager, org.codehaus.wadi.ManagerConfig
- public class TomcatManager
- extends Object
- implements org.codehaus.wadi.ManagerConfig, Lifecycle, Manager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected static final Log _log
_wadi
protected org.codehaus.wadi.impl.StandardManager _wadi
_container
protected Container _container
_distributable
protected boolean _distributable
_sessionCounter
protected int _sessionCounter
_maxActive
protected int _maxActive
_expiredSessions
protected int _expiredSessions
_rejectedSessions
protected int _rejectedSessions
_propertyChangeListeners
protected PropertyChangeSupport _propertyChangeListeners
_lifecycleListeners
protected LifecycleSupport _lifecycleListeners
TomcatManager
public TomcatManager()
getServletContext
public ServletContext getServletContext()
- Specified by:
getServletContext
in interface org.codehaus.wadi.ManagerConfig
callback
public void callback(org.codehaus.wadi.impl.StandardManager manager)
- Specified by:
callback
in interface org.codehaus.wadi.ManagerConfig
addLifecycleListener
public void addLifecycleListener(LifecycleListener listener)
- Specified by:
addLifecycleListener
in interface Lifecycle
findLifecycleListeners
public LifecycleListener[] findLifecycleListeners()
- Specified by:
findLifecycleListeners
in interface Lifecycle
removeLifecycleListener
public void removeLifecycleListener(LifecycleListener listener)
- Specified by:
removeLifecycleListener
in interface Lifecycle
start
public void start()
throws LifecycleException
- Specified by:
start
in interface Lifecycle
- Throws:
LifecycleException
stop
public void stop()
throws LifecycleException
- Specified by:
stop
in interface Lifecycle
- Throws:
LifecycleException
getContainer
public Container getContainer()
- Specified by:
getContainer
in interface Manager
setContainer
public void setContainer(Container container)
- Specified by:
setContainer
in interface Manager
getDistributable
public boolean getDistributable()
- Specified by:
getDistributable
in interface Manager
setDistributable
public void setDistributable(boolean distributable)
- Specified by:
setDistributable
in interface Manager
getInfo
public String getInfo()
- Specified by:
getInfo
in interface Manager
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface Manager
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
- Specified by:
setMaxInactiveInterval
in interface Manager
getSessionIdLength
public int getSessionIdLength()
- Specified by:
getSessionIdLength
in interface Manager
setSessionIdLength
public void setSessionIdLength(int sessionIdLength)
- Specified by:
setSessionIdLength
in interface Manager
getSessionCounter
public int getSessionCounter()
- Specified by:
getSessionCounter
in interface Manager
setSessionCounter
public void setSessionCounter(int sessionCounter)
- Specified by:
setSessionCounter
in interface Manager
getMaxActive
public int getMaxActive()
- Specified by:
getMaxActive
in interface Manager
setMaxActive
public void setMaxActive(int maxActive)
- Specified by:
setMaxActive
in interface Manager
getActiveSessions
public int getActiveSessions()
- Specified by:
getActiveSessions
in interface Manager
getExpiredSessions
public int getExpiredSessions()
- Specified by:
getExpiredSessions
in interface Manager
setExpiredSessions
public void setExpiredSessions(int expiredSessions)
- Specified by:
setExpiredSessions
in interface Manager
getRejectedSessions
public int getRejectedSessions()
- Specified by:
getRejectedSessions
in interface Manager
setRejectedSessions
public void setRejectedSessions(int rejectedSessions)
- Specified by:
setRejectedSessions
in interface Manager
getSessionMaxAliveTime
public int getSessionMaxAliveTime()
- Specified by:
getSessionMaxAliveTime
in interface Manager
setSessionMaxAliveTime
public void setSessionMaxAliveTime(int arg0)
- Specified by:
setSessionMaxAliveTime
in interface Manager
getSessionAverageAliveTime
public int getSessionAverageAliveTime()
- Specified by:
getSessionAverageAliveTime
in interface Manager
setSessionAverageAliveTime
public void setSessionAverageAliveTime(int arg0)
- Specified by:
setSessionAverageAliveTime
in interface Manager
add
public void add(Session session)
- Specified by:
add
in interface Manager
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface Manager
createEmptySession
public Session createEmptySession()
- Specified by:
createEmptySession
in interface Manager
createSession
public Session createSession()
- Specified by:
createSession
in interface Manager
createSession
public Session createSession(String arg0)
- Specified by:
createSession
in interface Manager
findSession
public Session findSession(String id)
throws IOException
- Specified by:
findSession
in interface Manager
- Throws:
IOException
findSessions
public Session[] findSessions()
- Specified by:
findSessions
in interface Manager
load
public void load()
throws ClassNotFoundException,
IOException
- Specified by:
load
in interface Manager
- Throws:
ClassNotFoundException
IOException
remove
public void remove(Session session)
- Specified by:
remove
in interface Manager
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface Manager
unload
public void unload()
throws IOException
- Specified by:
unload
in interface Manager
- Throws:
IOException
backgroundProcess
public void backgroundProcess()
- Specified by:
backgroundProcess
in interface Manager
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.