Java Doc for EmbeddedManagerMBean.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » catalina » startup » 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 » Web Server » Rimfaxe Web Server » org.apache.catalina.startup 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.catalina.startup.EmbeddedManagerMBean

All known Subclasses:   org.apache.catalina.startup.EmbeddedManager,
EmbeddedManagerMBean
public interface EmbeddedManagerMBean (Code)
Embedded MBean interface.
author:
   Remy Maucherat
version:
   $Revision: 1.4 $


Field Summary
final public static  StringNAME
     Component name.
final public static  StringOBJECT_NAME
     Object name.
final public static  intSTARTED
    
final public static  intSTARTING
    
final public static  intSTOPPED
    
final public static  intSTOPPING
    
final public static  String[]states
     Status constants.


Method Summary
public  voidaddConnector(Connector connector)
     Add a new Connector to the set of defined Connectors.
public  voidaddEngine(Engine engine)
     Add a new Engine to the set of defined Engines.
public  ConnectorcreateConnector(InetAddress address, int port, boolean secure)
     Create, configure, and return a new TCP/IP socket connector based on the specified properties.
public  ContextcreateContext(String path, String docBase)
     Create, configure, and return a Context that will process all HTTP requests received from one of the associated Connectors, and directed to the specified context path on the virtual host to which this Context is connected.
public  EnginecreateEngine()
     Create, configure, and return an Engine that will process all HTTP requests received from one of the associated Connectors, based on the specified properties.
public  HostcreateHost(String name, String appBase)
     Create, configure, and return a Host that will process all HTTP requests received from one of the associated Connectors, and directed to the specified virtual host.

After you have customized the properties, listeners, and Valves for this Host, you must attach it to the corresponding Engine by calling:

 engine.addChild(host);
 
which will also cause the Host to be started if the Engine has already been started.
public  voiddestroy()
     Destroy servlet container (if any is running).
public  intgetDebug()
     Return the debugging detail level for this component.
public  StringgetInfo()
     Return descriptive information about this Server implementation and the corresponding version number, in the format <description>/<version>.
public  LoggergetLogger()
     Return the Logger for this component.
public  StringgetName()
     Retruns the Catalina component name.
public  RealmgetRealm()
     Return the default Realm for our Containers.
public  StringgetSocketFactory()
     Return the secure socket factory class name.
public  intgetState()
     Returns the state.
public  StringgetStateString()
     Returns a String representation of the state.
public  booleanisUseNaming()
     Return true if naming is enabled.
public  voidremoveConnector(Connector connector)
     Remove the specified Connector from the set of defined Connectors.
public  voidremoveContext(Context context)
     Remove the specified Context from the set of defined Contexts for its associated Host.
public  voidremoveEngine(Engine engine)
     Remove the specified Engine from the set of defined Engines, along with all of its related Hosts and Contexts.
public  voidremoveHost(Host host)
     Remove the specified Host, along with all of its related Contexts, from the set of defined Hosts for its associated Engine.
public  voidsetDebug(int debug)
     Set the debugging detail level for this component.
public  voidsetLogger(Logger logger)
     Set the Logger for this component.
public  voidsetRealm(Realm realm)
     Set the default Realm for our Containers.
public  voidsetSocketFactory(String socketFactory)
     Set the secure socket factory class name.
public  voidsetUseNaming(boolean useNaming)
     Enables or disables naming support.
public  voidstart()
     Prepare for the beginning of active use of the public methods of this component.
public  voidstop()
     Gracefully terminate the active use of the public methods of this component.

Field Detail
NAME
final public static String NAME(Code)
Component name.



OBJECT_NAME
final public static String OBJECT_NAME(Code)
Object name.



STARTED
final public static int STARTED(Code)



STARTING
final public static int STARTING(Code)



STOPPED
final public static int STOPPED(Code)



STOPPING
final public static int STOPPING(Code)



states
final public static String[] states(Code)
Status constants.





Method Detail
addConnector
public void addConnector(Connector connector)(Code)
Add a new Connector to the set of defined Connectors. The newly added Connector will be associated with the most recently added Engine.
Parameters:
  connector - The connector to be added
exception:
  IllegalStateException - if no engines have been added yet



addEngine
public void addEngine(Engine engine)(Code)
Add a new Engine to the set of defined Engines.
Parameters:
  engine - The engine to be added



createConnector
public Connector createConnector(InetAddress address, int port, boolean secure)(Code)
Create, configure, and return a new TCP/IP socket connector based on the specified properties.
Parameters:
  address - InetAddress to listen to, or nullto listen on all address on this server
Parameters:
  port - Port number to listen to
Parameters:
  secure - Should this port be SSL-enabled?



createContext
public Context createContext(String path, String docBase)(Code)
Create, configure, and return a Context that will process all HTTP requests received from one of the associated Connectors, and directed to the specified context path on the virtual host to which this Context is connected.

After you have customized the properties, listeners, and Valves for this Context, you must attach it to the corresponding Host by calling:

 host.addChild(context);
 
which will also cause the Context to be started if the Host has already been started.
Parameters:
  path - Context path of this application ("" for the defaultapplication for this host, must start with a slash otherwise)
Parameters:
  docBase - Absolute pathname to the document base directoryfor this web application
exception:
  IllegalArgumentException - if an invalid parameteris specified



createEngine
public Engine createEngine()(Code)
Create, configure, and return an Engine that will process all HTTP requests received from one of the associated Connectors, based on the specified properties.



createHost
public Host createHost(String name, String appBase)(Code)
Create, configure, and return a Host that will process all HTTP requests received from one of the associated Connectors, and directed to the specified virtual host.

After you have customized the properties, listeners, and Valves for this Host, you must attach it to the corresponding Engine by calling:

 engine.addChild(host);
 
which will also cause the Host to be started if the Engine has already been started. If this is the default (or only) Host you will be defining, you may also tell the Engine to pass all requests not assigned to another virtual host to this one:
 engine.setDefaultHost(host.getName());
 

Parameters:
  name - Canonical name of this virtual host
Parameters:
  appBase - Absolute pathname to the application base directoryfor this virtual host
exception:
  IllegalArgumentException - if an invalid parameteris specified



destroy
public void destroy()(Code)
Destroy servlet container (if any is running).



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



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



getLogger
public Logger getLogger()(Code)
Return the Logger for this component.



getName
public String getName()(Code)
Retruns the Catalina component name.



getRealm
public Realm getRealm()(Code)
Return the default Realm for our Containers.



getSocketFactory
public String getSocketFactory()(Code)
Return the secure socket factory class name.



getState
public int getState()(Code)
Returns the state.



getStateString
public String getStateString()(Code)
Returns a String representation of the state.



isUseNaming
public boolean isUseNaming()(Code)
Return true if naming is enabled.



removeConnector
public void removeConnector(Connector connector)(Code)
Remove the specified Connector from the set of defined Connectors.
Parameters:
  connector - The Connector to be removed



removeContext
public void removeContext(Context context)(Code)
Remove the specified Context from the set of defined Contexts for its associated Host. If this is the last Context for this Host, the Host will also be removed.
Parameters:
  context - The Context to be removed



removeEngine
public void removeEngine(Engine engine)(Code)
Remove the specified Engine from the set of defined Engines, along with all of its related Hosts and Contexts. All associated Connectors are also removed.
Parameters:
  engine - The Engine to be removed



removeHost
public void removeHost(Host host)(Code)
Remove the specified Host, along with all of its related Contexts, from the set of defined Hosts for its associated Engine. If this is the last Host for this Engine, the Engine will also be removed.
Parameters:
  host - The Host to be removed



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



setLogger
public void setLogger(Logger logger)(Code)
Set the Logger for this component.
Parameters:
  logger - The new logger



setRealm
public void setRealm(Realm realm)(Code)
Set the default Realm for our Containers.
Parameters:
  realm - The new default realm



setSocketFactory
public void setSocketFactory(String socketFactory)(Code)
Set the secure socket factory class name.
Parameters:
  socketFactory - The new secure socket factory class name



setUseNaming
public void setUseNaming(boolean useNaming)(Code)
Enables or disables naming support.
Parameters:
  useNaming - The new use naming value



start
public void start()(Code)
Prepare for the beginning of active use of the public methods of this component. This method should be called after configure(), and before any of the public methods of the component are utilized.
exception:
  IllegalStateException - if this component has already beenstarted



stop
public void stop()(Code)
Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.
exception:
  IllegalStateException - if this component has not been started



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