Java Doc for StandardEngine.java in  » Sevlet-Container » apache-tomcat-6.0.14 » 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 » apache tomcat 6.0.14 » org.apache.catalina.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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

StandardEngine
public class StandardEngine extends ContainerBase implements Engine(Code)
Standard implementation of the Engine interface. Each child container must be a Host implementation to process the specific fully qualified host name of that virtual host.
You can set the jvmRoute direct or with the System.property jvmRoute.
author:
   Craig R. McClanahan
version:
   $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $



Constructor Summary
public  StandardEngine()
     Create a new StandardEngine component with the default basic Valve.

Method Summary
public  voidaddChild(Container child)
     Add a child Container, only if the proposed child is an implementation of Host.
public  ObjectNamecreateObjectName(String domain, ObjectName parent)
    
public  voiddestroy()
    
public  StringgetBaseDir()
    
public  StringgetDefaultHost()
     Return the default host.
public  StringgetDomain()
    
public  StringgetInfo()
     Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.
public  StringgetJvmRoute()
     Retrieve the cluster-wide unique identifier for this Engine.
public  StringgetMbeansFile()
    
public  ObjectNamegetParentName()
    
public  RealmgetRealm()
    
public  ServicegetService()
     Return the Service with which we are associated (if any).
public  voidinit()
    
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
    
public  voidsetBaseDir(String baseDir)
    
public  voidsetDefaultHost(String host)
     Set the default host.
public  voidsetDomain(String domain)
    
public  voidsetJvmRoute(String routeId)
     Set the cluster-wide unique identifier for this Engine.
public  voidsetMbeansFile(String mbeansFile)
    
public  voidsetName(String name)
    
public  voidsetParent(Container container)
     Disallow any attempt to set a parent for this Container, since an Engine is supposed to be at the top of the Container hierarchy.
public  voidsetService(Service service)
     Set the Service with which we are associated (if any).
public  voidstart()
     Start this Engine component.
public  voidstop()
    
public  StringtoString()
     Return a String representation of this component.


Constructor Detail
StandardEngine
public StandardEngine()(Code)
Create a new StandardEngine component with the default basic Valve.




Method Detail
addChild
public void addChild(Container child)(Code)
Add a child Container, only if the proposed child is an implementation of Host.
Parameters:
  child - Child container to be added



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



destroy
public void destroy() throws LifecycleException(Code)



getBaseDir
public String getBaseDir()(Code)



getDefaultHost
public String getDefaultHost()(Code)
Return the default host.



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>.



getJvmRoute
public String getJvmRoute()(Code)
Retrieve the cluster-wide unique identifier for this Engine. This value is only useful in a load-balancing scenario.



getMbeansFile
public String getMbeansFile()(Code)



getParentName
public ObjectName getParentName() throws MalformedObjectNameException(Code)



getRealm
public Realm getRealm()(Code)
Provide a default in case no explicit configuration is set configured realm, or a JAAS realm by default



getService
public Service getService()(Code)
Return the Service with which we are associated (if any).



init
public void init()(Code)



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



setBaseDir
public void setBaseDir(String baseDir)(Code)



setDefaultHost
public void setDefaultHost(String host)(Code)
Set the default host.
Parameters:
  host - The new default host



setDomain
public void setDomain(String domain)(Code)



setJvmRoute
public void setJvmRoute(String routeId)(Code)
Set the cluster-wide unique identifier for this Engine. This value is only useful in a load-balancing scenario.

This property should not be changed once it is set.




setMbeansFile
public void setMbeansFile(String mbeansFile)(Code)



setName
public void setName(String name)(Code)



setParent
public void setParent(Container container)(Code)
Disallow any attempt to set a parent for this Container, since an Engine is supposed to be at the top of the Container hierarchy.
Parameters:
  container - Proposed parent Container



setService
public void setService(Service service)(Code)
Set the Service with which we are associated (if any).
Parameters:
  service - The service that owns this Engine



start
public void start() throws LifecycleException(Code)
Start this Engine component.
exception:
  LifecycleException - if a startup error occurs



stop
public void stop() throws LifecycleException(Code)



toString
public String toString()(Code)
Return a String representation of this component.



Fields inherited from org.apache.catalina.core.ContainerBase
protected int backgroundProcessorDelay(Code)(Java Doc)
protected HashMap children(Code)(Java Doc)
protected Cluster cluster(Code)(Java Doc)
protected ObjectName controller(Code)(Java Doc)
protected String domain(Code)(Java Doc)
protected boolean initialized(Code)(Java Doc)
protected LifecycleSupport lifecycle(Code)(Java Doc)
protected ArrayList listeners(Code)(Java Doc)
protected Loader loader(Code)(Java Doc)
protected String logName(Code)(Java Doc)
protected Log logger(Code)(Java Doc)
protected Manager manager(Code)(Java Doc)
protected transient MBeanServer mserver(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected ObjectName oname(Code)(Java Doc)
protected Container parent(Code)(Java Doc)
protected ClassLoader parentClassLoader(Code)(Java Doc)
protected Pipeline pipeline(Code)(Java Doc)
protected Realm realm(Code)(Java Doc)
protected DirContext resources(Code)(Java Doc)
protected static StringManager sm(Code)(Java Doc)
protected boolean startChildren(Code)(Java Doc)
protected boolean started(Code)(Java Doc)
protected String suffix(Code)(Java Doc)
protected PropertyChangeSupport support(Code)(Java Doc)
protected String type(Code)(Java Doc)

Methods inherited from org.apache.catalina.core.ContainerBase
public void addChild(Container child)(Code)(Java Doc)
public void addContainerListener(ContainerListener listener)(Code)(Java Doc)
public void addLifecycleListener(LifecycleListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addValve(Valve valve)(Code)(Java Doc)
public void backgroundProcess()(Code)(Java Doc)
public ObjectName createObjectName(String domain, ObjectName parent) throws Exception(Code)(Java Doc)
public void destroy() throws Exception(Code)(Java Doc)
public Container findChild(String name)(Code)(Java Doc)
public Container[] findChildren()(Code)(Java Doc)
public ContainerListener[] findContainerListeners()(Code)(Java Doc)
public LifecycleListener[] findLifecycleListeners()(Code)(Java Doc)
public void fireContainerEvent(String type, Object data)(Code)(Java Doc)
public int getBackgroundProcessorDelay()(Code)(Java Doc)
public Valve getBasic()(Code)(Java Doc)
public ObjectName[] getChildren()(Code)(Java Doc)
public Cluster getCluster()(Code)(Java Doc)
public String getContainerSuffix()(Code)(Java Doc)
public String getDomain()(Code)(Java Doc)
public Valve getFirst()(Code)(Java Doc)
public String getInfo()(Code)(Java Doc)
protected String getJSR77Suffix()(Code)(Java Doc)
public ObjectName getJmxName()(Code)(Java Doc)
public Loader getLoader()(Code)(Java Doc)
public Log getLogger()(Code)(Java Doc)
public Manager getManager()(Code)(Java Doc)
public Object getMappingObject()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public String getObjectName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ClassLoader getParentClassLoader()(Code)(Java Doc)
public ObjectName getParentName() throws MalformedObjectNameException(Code)(Java Doc)
public Pipeline getPipeline()(Code)(Java Doc)
public Realm getRealm()(Code)(Java Doc)
public DirContext getResources()(Code)(Java Doc)
public boolean getStartChildren()(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public ObjectName[] getValveObjectNames()(Code)(Java Doc)
public Valve[] getValves()(Code)(Java Doc)
public void init() throws Exception(Code)(Java Doc)
public void invoke(Request request, Response response) throws IOException, ServletException(Code)(Java Doc)
protected String logName()(Code)(Java Doc)
public void postDeregister()(Code)(Java Doc)
public void postRegister(Boolean registrationDone)(Code)(Java Doc)
public void preDeregister() throws Exception(Code)(Java Doc)
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc)
public void removeChild(Container child)(Code)(Java Doc)
public void removeContainerListener(ContainerListener listener)(Code)(Java Doc)
public void removeLifecycleListener(LifecycleListener listener)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removeValve(Valve valve)(Code)(Java Doc)
public void setBackgroundProcessorDelay(int delay)(Code)(Java Doc)
public void setBasic(Valve valve)(Code)(Java Doc)
public synchronized void setCluster(Cluster cluster)(Code)(Java Doc)
public void setDomain(String domain)(Code)(Java Doc)
public synchronized void setLoader(Loader loader)(Code)(Java Doc)
public synchronized void setManager(Manager manager)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setParent(Container container)(Code)(Java Doc)
public void setParentClassLoader(ClassLoader parent)(Code)(Java Doc)
public synchronized void setRealm(Realm realm)(Code)(Java Doc)
public synchronized void setResources(DirContext resources)(Code)(Java Doc)
public void setStartChildren(boolean startChildren)(Code)(Java Doc)
public synchronized void start() throws LifecycleException(Code)(Java Doc)
public synchronized void stop() throws LifecycleException(Code)(Java Doc)
protected void threadStart()(Code)(Java Doc)
protected void threadStop()(Code)(Java Doc)

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.