Java Doc for ContainerBase.java in  » Sevlet-Container » tomcat-catalina » org » apache » catalina » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » tomcat catalina » org.apache.catalina.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.catalina.core.ContainerBase

All known Subclasses:   org.apache.catalina.core.StandardHost,  org.apache.catalina.core.StandardWrapper,  org.apache.catalina.core.StandardEngine,  org.apache.catalina.core.StandardContext,
ContainerBase
abstract public class ContainerBase implements Container,Lifecycle,Pipeline,MBeanRegistration,Serializable(Code)
Abstract implementation of the Container interface, providing common functionality required by nearly every implementation. Classes extending this base class must implement getInfo(), and may implement a replacement for invoke().

All subclasses of this abstract base class will include support for a Pipeline object that defines the processing to be performed for each request received by the invoke() method of this class, utilizing the "Chain of Responsibility" design pattern. A subclass should encapsulate its own processing functionality as a Valve, and configure this Valve into the pipeline by calling setBasic().

This implementation fires property change events, per the JavaBeans design pattern, for changes in singleton properties. In addition, it fires the following ContainerEvent events to listeners who register themselves with addContainerListener():
Type Data Description
addChild Container Child container added to this Container.
addValve Valve Valve added to this Container.
removeChild Container Child container removed from this Container.
removeValve Valve Valve removed from this Container.
start null Container was started.
stop null Container was stopped.
Subclasses that fire additional events should document them in the class comments of the implementation class.
author:
   Craig R. McClanahan


Inner Class :protected class PrivilegedAddChild implements PrivilegedAction
Inner Class :protected class ContainerBackgroundProcessor implements Runnable

Field Summary
protected  intbackgroundProcessorDelay
     The processor delay for this component.
protected  HashMapchildren
     The child Containers belonging to this Container, keyed by name.
protected  Clustercluster
     The cluster with which this Container is associated.
protected  ObjectNamecontroller
    
protected  intdebug
     The debugging detail level for this component.
protected  Stringdomain
    
protected  booleaninitialized
    
protected  LifecycleSupportlifecycle
     The lifecycle event support for this component.
protected  ArrayListlisteners
     The container event listeners for this Container.
protected  Loaderloader
     The Loader implementation with which this Container is associated.
protected  Loggerlogger
     The Logger implementation with which this Container is associated.
protected  Managermanager
     The Manager implementation with which this Container is associated.
protected transient  MBeanServermserver
    
protected  Stringname
     The human-readable name of this Container.
protected  ObjectNameoname
    
protected  Containerparent
     The parent Container to which this Container is a child.
protected  ClassLoaderparentClassLoader
     The parent class loader to be configured when we install a Loader.
protected  Pipelinepipeline
     The Pipeline object with which this Container is associated.
protected  Realmrealm
     The Realm with which this Container is associated.
protected  DirContextresources
     The resources DirContext object with which this Container is associated.
protected static  StringManagersm
     The string manager for this package.
protected  booleanstarted
    
protected  Stringsuffix
    
protected  PropertyChangeSupportsupport
     The property change support for this component.
protected  Stringtype
    


Method Summary
public  voidaddChild(Container child)
     Add a new child Container to those associated with this Container, if supported.
public  voidaddContainerListener(ContainerListener listener)
     Add a container event listener to this component.
public  voidaddLifecycleListener(LifecycleListener listener)
     Add a lifecycle event listener to this component.
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Add a property change listener to this component.
public synchronized  voidaddValve(Valve valve)
     Add a new Valve to the end of the pipeline associated with this Container.
public  voidbackgroundProcess()
     Execute a periodic task, such as reloading, etc.
public  ObjectNamecreateObjectName(String domain, ObjectName parent)
    
public  voiddestroy()
    
public  ContainerfindChild(String name)
    
public  Container[]findChildren()
     Return the set of children Containers associated with this Container.
public  ContainerListener[]findContainerListeners()
     Return the set of container listeners associated with this Container.
public  LifecycleListener[]findLifecycleListeners()
     Get the lifecycle listeners associated with this lifecycle.
public  voidfireContainerEvent(String type, Object data)
     Notify all container event listeners that a particular event has occurred for this Container.
public  intgetBackgroundProcessorDelay()
     Get the delay between the invocation of the backgroundProcess method on this container and its children.
public  ValvegetBasic()
    

Return the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any).

public  ObjectName[]getChildren()
    
public  ClustergetCluster()
     Return the Cluster with which this Container is associated.
public  StringgetContainerSuffix()
    
public  intgetDebug()
     Return the debugging detail level for this component.
public  StringgetDomain()
    
public  StringgetInfo()
     Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.
protected  StringgetJSR77Suffix()
    
public  ObjectNamegetJmxName()
    
public  LoadergetLoader()
     Return the Loader with which this Container is associated.
public  LoggergetLogger()
     Return the Logger with which this Container is associated.
public  ManagergetManager()
     Return the Manager with which this Container is associated.
public  ObjectgetMappingObject()
     Return an object which may be utilized for mapping to this component.
public  StringgetName()
     Return a name string (suitable for use by humans) that describes this Container.
public  StringgetObjectName()
    
public  ContainergetParent()
     Return the Container for which this Container is a child, if there is one.
public  ClassLoadergetParentClassLoader()
     Return the parent class loader (if any) for this web application.
public  ObjectNamegetParentName()
    
public  PipelinegetPipeline()
     Return the Pipeline object that manages the Valves associated with this Container.
public  RealmgetRealm()
     Return the Realm with which this Container is associated.
public  DirContextgetResources()
     Return the resources DirContext object with which this Container is associated.
public  StringgetType()
    
public  ObjectName[]getValveObjectNames()
    
public  Valve[]getValves()
     Return the set of Valves in the pipeline associated with this Container, including the basic Valve (if any).
public  voidinit()
     Init method, part of the MBean lifecycle. If the container was added via JMX, it'll register itself with the parent, using the ObjectName conventions to locate the parent. If the container was added directly and it doesn't have an ObjectName, it'll create a name and register itself with the JMX console.
final public  voidinvoke(Request request, Response response)
     Process the specified Request, to produce the corresponding Response, by invoking the first Valve in our pipeline (if any), or the basic Valve otherwise.
protected  voidlog(String message)
     Log the specified message to our current Logger (if any).
protected  voidlog(String message, Throwable throwable)
     Log the specified message and exception to our current Logger (if any).
protected  StringlogName()
    
public  voidpostDeregister()
    
public  voidpostRegister(Boolean registrationDone)
    
public  voidpreDeregister()
    
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
    
public  voidremoveChild(Container child)
     Remove an existing child Container from association with this parent Container.
public  voidremoveContainerListener(ContainerListener listener)
     Remove a container event listener from this component.
public  voidremoveLifecycleListener(LifecycleListener listener)
     Remove a lifecycle event listener from this component.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Remove a property change listener from this component.
public synchronized  voidremoveValve(Valve valve)
     Remove the specified Valve from the pipeline associated with this Container, if it is found; otherwise, do nothing.
public  voidsetBackgroundProcessorDelay(int delay)
     Set the delay between the invocation of the execute method on this container and its children.
public  voidsetBasic(Valve valve)
    

Set the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any).

public synchronized  voidsetCluster(Cluster cluster)
     Set the Cluster with which this Container is associated.
public  voidsetDebug(int debug)
     Set the debugging detail level for this component.
public  voidsetDomain(String domain)
    
public synchronized  voidsetLoader(Loader loader)
     Set the Loader with which this Container is associated.
public synchronized  voidsetLogger(Logger logger)
     Set the Logger with which this Container is associated.
public synchronized  voidsetManager(Manager manager)
     Set the Manager with which this Container is associated.
public  voidsetName(String name)
     Set a name string (suitable for use by humans) that describes this Container.
public  voidsetParent(Container container)
     Set the parent Container to which this Container is being added as a child.
public  voidsetParentClassLoader(ClassLoader parent)
     Set the parent class loader (if any) for this web application.
public synchronized  voidsetRealm(Realm realm)
     Set the Realm with which this Container is associated.
public synchronized  voidsetResources(DirContext resources)
     Set the resources DirContext object with which this Container is associated.
public synchronized  voidstart()
     Prepare for active use of the public methods of this Component.
public synchronized  voidstop()
     Gracefully shut down active use of the public methods of this Component.
protected  voidthreadStart()
     Start the background thread that will periodically check for session timeouts.
protected  voidthreadStop()
     Stop the background thread that is periodically checking for session timeouts.

Field Detail
backgroundProcessorDelay
protected int backgroundProcessorDelay(Code)
The processor delay for this component.



children
protected HashMap children(Code)
The child Containers belonging to this Container, keyed by name.



cluster
protected Cluster cluster(Code)
The cluster with which this Container is associated.



controller
protected ObjectName controller(Code)



debug
protected int debug(Code)
The debugging detail level for this component.



domain
protected String domain(Code)



initialized
protected boolean initialized(Code)



lifecycle
protected LifecycleSupport lifecycle(Code)
The lifecycle event support for this component.



listeners
protected ArrayList listeners(Code)
The container event listeners for this Container.



loader
protected Loader loader(Code)
The Loader implementation with which this Container is associated.



logger
protected Logger logger(Code)
The Logger implementation with which this Container is associated.



manager
protected Manager manager(Code)
The Manager implementation with which this Container is associated.



mserver
protected transient MBeanServer mserver(Code)



name
protected String name(Code)
The human-readable name of this Container.



oname
protected ObjectName oname(Code)



parent
protected Container parent(Code)
The parent Container to which this Container is a child.



parentClassLoader
protected ClassLoader parentClassLoader(Code)
The parent class loader to be configured when we install a Loader.



pipeline
protected Pipeline pipeline(Code)
The Pipeline object with which this Container is associated.



realm
protected Realm realm(Code)
The Realm with which this Container is associated.



resources
protected DirContext resources(Code)
The resources DirContext object with which this Container is associated.



sm
protected static StringManager sm(Code)
The string manager for this package.



started
protected boolean started(Code)
Has this component been started?



suffix
protected String suffix(Code)



support
protected PropertyChangeSupport support(Code)
The property change support for this component.



type
protected String type(Code)





Method Detail
addChild
public void addChild(Container child)(Code)
Add a new child Container to those associated with this Container, if supported. Prior to adding this Container to the set of children, the child's setParent() method must be called, with this Container as an argument. This method may thrown an IllegalArgumentException if this Container chooses not to be attached to the specified Container, in which case it is not added
Parameters:
  child - New child Container to be added
exception:
  IllegalArgumentException - if this exception is thrown bythe setParent() method of the child Container
exception:
  IllegalArgumentException - if the new child does not havea name unique from that of existing children of this Container
exception:
  IllegalStateException - if this Container does not supportchild Containers



addContainerListener
public void addContainerListener(ContainerListener listener)(Code)
Add a container event listener to this component.
Parameters:
  listener - The listener to add



addLifecycleListener
public void addLifecycleListener(LifecycleListener listener)(Code)
Add a lifecycle event listener to this component.
Parameters:
  listener - The listener to add



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Add a property change listener to this component.
Parameters:
  listener - The listener to add



addValve
public synchronized void addValve(Valve valve)(Code)
Add a new Valve to the end of the pipeline associated with this Container. Prior to adding the Valve, the Valve's setContainer method must be called, with this Container as an argument. The method may throw an IllegalArgumentException if this Valve chooses not to be associated with this Container, or IllegalStateException if it is already associated with a different Container.
Parameters:
  valve - Valve to be added
exception:
  IllegalArgumentException - if this Container refused toaccept the specified Valve
exception:
  IllegalArgumentException - if the specifie Valve refuses to beassociated with this Container
exception:
  IllegalStateException - if the specified Valve is alreadyassociated with a different Container



backgroundProcess
public void backgroundProcess()(Code)
Execute a periodic task, such as reloading, etc. This method will be invoked inside the classloading context of this container. Unexpected throwables will be caught and logged.



createObjectName
public ObjectName createObjectName(String domain, ObjectName parent) throws Exception(Code)



destroy
public void destroy() throws Exception(Code)



findChild
public Container findChild(String name)(Code)
Return the child Container, associated with this Container, with the specified name (if any); otherwise, return null
Parameters:
  name - Name of the child Container to be retrieved



findChildren
public Container[] findChildren()(Code)
Return the set of children Containers associated with this Container. If this Container has no children, a zero-length array is returned.



findContainerListeners
public ContainerListener[] findContainerListeners()(Code)
Return the set of container listeners associated with this Container. If this Container has no registered container listeners, a zero-length array is returned.



findLifecycleListeners
public LifecycleListener[] findLifecycleListeners()(Code)
Get the lifecycle listeners associated with this lifecycle. If this Lifecycle has no listeners registered, a zero-length array is returned.



fireContainerEvent
public void fireContainerEvent(String type, Object data)(Code)
Notify all container event listeners that a particular event has occurred for this Container. The default implementation performs this notification synchronously using the calling thread.
Parameters:
  type - Event type
Parameters:
  data - Event data



getBackgroundProcessorDelay
public int getBackgroundProcessorDelay()(Code)
Get the delay between the invocation of the backgroundProcess method on this container and its children. Child containers will not be invoked if their delay value is not negative (which would mean they are using their own thread). Setting this to a positive value will cause a thread to be spawn. After waiting the specified amount of time, the thread will invoke the executePeriodic method on this container and all its children.



getBasic
public Valve getBasic()(Code)

Return the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any).




getChildren
public ObjectName[] getChildren()(Code)



getCluster
public Cluster getCluster()(Code)
Return the Cluster with which this Container is associated. If there is no associated Cluster, return the Cluster associated with our parent Container (if any); otherwise return null.



getContainerSuffix
public String getContainerSuffix()(Code)



getDebug
public int getDebug()(Code)
Return the debugging detail level for this component.



getDomain
public String getDomain()(Code)



getInfo
public String getInfo()(Code)
Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.



getJSR77Suffix
protected String getJSR77Suffix()(Code)



getJmxName
public ObjectName getJmxName()(Code)



getLoader
public Loader getLoader()(Code)
Return the Loader with which this Container is associated. If there is no associated Loader, return the Loader associated with our parent Container (if any); otherwise, return null.



getLogger
public Logger getLogger()(Code)
Return the Logger with which this Container is associated. If there is no associated Logger, return the Logger associated with our parent Container (if any); otherwise return null.



getManager
public Manager getManager()(Code)
Return the Manager with which this Container is associated. If there is no associated Manager, return the Manager associated with our parent Container (if any); otherwise return null.



getMappingObject
public Object getMappingObject()(Code)
Return an object which may be utilized for mapping to this component.



getName
public String getName()(Code)
Return a name string (suitable for use by humans) that describes this Container. Within the set of child containers belonging to a particular parent, Container names must be unique.



getObjectName
public String getObjectName()(Code)



getParent
public Container getParent()(Code)
Return the Container for which this Container is a child, if there is one. If there is no defined parent, return null.



getParentClassLoader
public ClassLoader getParentClassLoader()(Code)
Return the parent class loader (if any) for this web application. This call is meaningful only after a Loader has been configured.



getParentName
public ObjectName getParentName() throws MalformedObjectNameException(Code)



getPipeline
public Pipeline getPipeline()(Code)
Return the Pipeline object that manages the Valves associated with this Container.



getRealm
public Realm getRealm()(Code)
Return the Realm with which this Container is associated. If there is no associated Realm, return the Realm associated with our parent Container (if any); otherwise return null.



getResources
public DirContext getResources()(Code)
Return the resources DirContext object with which this Container is associated. If there is no associated resources object, return the resources associated with our parent Container (if any); otherwise return null.



getType
public String getType()(Code)



getValveObjectNames
public ObjectName[] getValveObjectNames()(Code)



getValves
public Valve[] getValves()(Code)
Return the set of Valves in the pipeline associated with this Container, including the basic Valve (if any). If there are no such Valves, a zero-length array is returned.



init
public void init() throws Exception(Code)
Init method, part of the MBean lifecycle. If the container was added via JMX, it'll register itself with the parent, using the ObjectName conventions to locate the parent. If the container was added directly and it doesn't have an ObjectName, it'll create a name and register itself with the JMX console. On destroy(), the object will unregister.
throws:
  Exception -



invoke
final public void invoke(Request request, Response response) throws IOException, ServletException(Code)
Process the specified Request, to produce the corresponding Response, by invoking the first Valve in our pipeline (if any), or the basic Valve otherwise.
Parameters:
  request - Request to be processed
Parameters:
  response - Response to be produced
exception:
  IllegalStateException - if neither a pipeline or a basicValve have been configured for this Container
exception:
  IOException - if an input/output error occurred whileprocessing
exception:
  ServletException - if a ServletException was thrownwhile processing this request



log
protected void log(String message)(Code)
Log the specified message to our current Logger (if any).
Parameters:
  message - Message to be logged



log
protected void log(String message, Throwable throwable)(Code)
Log the specified message and exception to our current Logger (if any).
Parameters:
  message - Message to be logged
Parameters:
  throwable - Related exception



logName
protected String logName()(Code)
Return the abbreviated name of this container for logging messsages



postDeregister
public void postDeregister()(Code)



postRegister
public void postRegister(Boolean registrationDone)(Code)



preDeregister
public void preDeregister() throws Exception(Code)



preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)



removeChild
public void removeChild(Container child)(Code)
Remove an existing child Container from association with this parent Container.
Parameters:
  child - Existing child Container to be removed



removeContainerListener
public void removeContainerListener(ContainerListener listener)(Code)
Remove a container event listener from this component.
Parameters:
  listener - The listener to remove



removeLifecycleListener
public void removeLifecycleListener(LifecycleListener listener)(Code)
Remove a lifecycle event listener from this component.
Parameters:
  listener - The listener to remove



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Remove a property change listener from this component.
Parameters:
  listener - The listener to remove



removeValve
public synchronized void removeValve(Valve valve)(Code)
Remove the specified Valve from the pipeline associated with this Container, if it is found; otherwise, do nothing.
Parameters:
  valve - Valve to be removed



setBackgroundProcessorDelay
public void setBackgroundProcessorDelay(int delay)(Code)
Set the delay between the invocation of the execute method on this container and its children.
Parameters:
  delay - The delay in seconds between the invocation of backgroundProcess methods



setBasic
public void setBasic(Valve valve)(Code)

Set the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any). Prioer to setting the basic Valve, the Valve's setContainer() will be called, if it implements Contained, with the owning Container as an argument. The method may throw an IllegalArgumentException if this Valve chooses not to be associated with this Container, or IllegalStateException if it is already associated with a different Container.


Parameters:
  valve - Valve to be distinguished as the basic Valve



setCluster
public synchronized void setCluster(Cluster cluster)(Code)
Set the Cluster with which this Container is associated.
Parameters:
  cluster - The newly associated Cluster



setDebug
public void setDebug(int debug)(Code)
Set the debugging detail level for this component.
Parameters:
  debug - The new debugging detail level



setDomain
public void setDomain(String domain)(Code)



setLoader
public synchronized void setLoader(Loader loader)(Code)
Set the Loader with which this Container is associated.
Parameters:
  loader - The newly associated loader



setLogger
public synchronized void setLogger(Logger logger)(Code)
Set the Logger with which this Container is associated.
Parameters:
  logger - The newly associated Logger



setManager
public synchronized void setManager(Manager manager)(Code)
Set the Manager with which this Container is associated.
Parameters:
  manager - The newly associated Manager



setName
public void setName(String name)(Code)
Set a name string (suitable for use by humans) that describes this Container. Within the set of child containers belonging to a particular parent, Container names must be unique.
Parameters:
  name - New name of this container
exception:
  IllegalStateException - if this Container has already beenadded to the children of a parent Container (after which the namemay not be changed)



setParent
public void setParent(Container container)(Code)
Set the parent Container to which this Container is being added as a child. This Container may refuse to become attached to the specified Container by throwing an exception.
Parameters:
  container - Container to which this Container is being addedas a child
exception:
  IllegalArgumentException - if this Container refuses to becomeattached to the specified Container



setParentClassLoader
public void setParentClassLoader(ClassLoader parent)(Code)
Set the parent class loader (if any) for this web application. This call is meaningful only before a Loader has been configured, and the specified value (if non-null) should be passed as an argument to the class loader constructor.
Parameters:
  parent - The new parent class loader



setRealm
public synchronized void setRealm(Realm realm)(Code)
Set the Realm with which this Container is associated.
Parameters:
  realm - The newly associated Realm



setResources
public synchronized void setResources(DirContext resources)(Code)
Set the resources DirContext object with which this Container is associated.
Parameters:
  resources - The newly associated DirContext



start
public synchronized void start() throws LifecycleException(Code)
Prepare for active use of the public methods of this Component.
exception:
  LifecycleException - if this component detects a fatal errorthat prevents it from being started



stop
public synchronized void stop() throws LifecycleException(Code)
Gracefully shut down active use of the public methods of this Component.
exception:
  LifecycleException - if this component detects a fatal errorthat needs to be reported



threadStart
protected void threadStart()(Code)
Start the background thread that will periodically check for session timeouts.



threadStop
protected void threadStop()(Code)
Stop the background thread that is periodically checking for session timeouts.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.