Inheritance diagram for org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl:
Public Member Functions | |
void | doStart () throws ServiceException |
synchronized void | removeContext (Context context) throws JWebContainerServiceException |
boolean | isTomcatStarted () |
void | setServer (Server server) |
Host | findHost (String hostName) throws JWebContainerServiceException |
String | getDefaultHost () throws JWebContainerServiceException |
String | getDefaultHttpPort () throws JWebContainerServiceException |
String | getDefaultHttpsPort () throws JWebContainerServiceException |
void | registerWarMBean (String fileName) throws RemoteException, JWebContainerServiceException |
void | unRegisterWarMBean (String fileName) throws RemoteException, JWebContainerServiceException |
Protected Member Functions | |
void | doInit (javax.naming.Context ctx) throws ServiceException |
void | initCatalinaEnvironment () throws ServiceException |
javax.naming.Context | setGlobalNamingResources () throws ServiceException |
void | doStop () throws ServiceException |
void | doRegisterWar (javax.naming.Context ctx) throws JWebContainerServiceException |
List | getConfiguredMatchingJonasContexts (String contextRoot, File fpackedWar, String destDir) |
void | checkStartedContext (Context context) throws JWebContainerServiceException |
synchronized List | getEngines () throws JWebContainerServiceException |
synchronized List | getContexts () throws JWebContainerServiceException |
void | doUnRegisterWar (javax.naming.Context ctx) throws JWebContainerServiceException |
File | getConfigFile () throws FileNotFoundException |
Digester | createServerDigester () |
void | updateServerInfos () |
Static Protected Attributes | |
final String | CONFIG_FILE = "conf/server.xml" |
Ludovic Bert (Tomcat 4.0)
Definition at line 95 of file CatalinaJWebContainerServiceImpl.java.
|
Check that the context that was started was right configured
Definition at line 630 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), and org.objectweb.jonas_lib.I18n.getMessage(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doRegisterWar(). |
Here is the call graph for this function:
|
Create and configure the Digester that will be used for the xml parsing of the configuration file.
Definition at line 1000 of file CatalinaJWebContainerServiceImpl.java. Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(). |
|
Initialize the Catalina service.
Definition at line 140 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.server.LoaderManager.getAppsLoader(), org.objectweb.jonas.server.LoaderManager.getCatalinaLoader(), org.objectweb.jonas_lib.I18n.getInstance(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getMbeanServer(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.initCatalinaEnvironment(), org.objectweb.jonas.web.catalina50.WebModuleProxy.setMyServer(), and org.objectweb.jonas.web.catalina50.CatalinaConnectorFactory.setMyServer(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Start the Catalina service in a new thread
Reimplemented from org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 240 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.createServerDigester(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getConfigFile(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getEngines(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas_lib.I18n.getMessage(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getNaming(), org.objectweb.jonas_lib.naming.ContainerNaming.setComponentContext(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.setGlobalNamingResources(). |
Here is the call graph for this function:
|
Stop the Catalina service.
Reimplemented from org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 343 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), and org.objectweb.jonas_lib.I18n.getMessage(). |
Here is the call graph for this function:
|
Undeploy a specific WAR file specified in the context.
Definition at line 698 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.findHost(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getContexts(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas_lib.I18n.getMessage(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.removeContext(). |
Here is the call graph for this function:
|
Find the specified host.
Definition at line 872 of file CatalinaJWebContainerServiceImpl.java. Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doRegisterWar(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doUnRegisterWar(). |
|
Return a File object representing the server.xml configuration file.
Definition at line 853 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas_lib.I18n.getMessage(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(). |
Here is the call graph for this function:
|
Check if there is a previous JOnASStandardContext which match the current context If true, deploy our context into the configured context
Definition at line 584 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getContexts(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas_lib.I18n.getMessage(), and org.objectweb.jonas.web.catalina50.JOnASStandardContext.isInServerXml(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doRegisterWar(). |
Here is the call graph for this function:
|
Gets all the contexts of the current Tomcat server
Definition at line 670 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getEngines(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doUnRegisterWar(), org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getConfiguredMatchingJonasContexts(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.removeContext(). |
Here is the call graph for this function:
|
Return the Default host name of the web container.
Implements org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1036 of file CatalinaJWebContainerServiceImpl.java. |
|
Return the Default HTTP port number of the web container (can be null if multiple HTTP connector has been set).
Implements org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1055 of file CatalinaJWebContainerServiceImpl.java. |
|
Return the Default HTTPS port number of the web container (can be null if multiple HTTPS connector has been set).
Implements org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1095 of file CatalinaJWebContainerServiceImpl.java. |
|
Gets all the engines of the current Tomcat server
Definition at line 649 of file CatalinaJWebContainerServiceImpl.java. Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(), and org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getContexts(). |
|
Init the environment of catalina set catalina.home, catalina.base and unset the tomcat naming
Definition at line 218 of file CatalinaJWebContainerServiceImpl.java. Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doInit(). |
|
The server is started ?
Definition at line 833 of file CatalinaJWebContainerServiceImpl.java. |
|
Register a WAR by delegating the operation to the registerWar() method. This is used for JMX management.
Reimplemented from org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1134 of file CatalinaJWebContainerServiceImpl.java. |
|
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.
Definition at line 767 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.getContexts(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getMbeanServer(), and org.objectweb.jonas.web.catalina50.JOnASStandardContext.isInServerXml(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doUnRegisterWar(). |
Here is the call graph for this function:
|
Defines the naming resources for tomcat only use for avoid null pointer when using a server.xml of the original distribution
Definition at line 313 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas_lib.naming.ContainerNaming.createEnvironmentContext(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getLogger(), org.objectweb.jonas_lib.I18n.getMessage(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.getNaming(), and org.objectweb.jonas_lib.naming.ContainerNaming.setComponentContext(). Referenced by org.objectweb.jonas.web.catalina50.CatalinaJWebContainerServiceImpl.doStart(). |
Here is the call graph for this function:
|
Set the server instance we are configuring.
Definition at line 843 of file CatalinaJWebContainerServiceImpl.java. |
|
Unregister a WAR by delegating the operation to the unRegisterWar() method. This is used for JMX management.
Reimplemented from org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1156 of file CatalinaJWebContainerServiceImpl.java. |
|
Update info of the serverName and serverVersion Implements org.objectweb.jonas.web.AbsJWebContainerServiceImpl. Definition at line 1018 of file CatalinaJWebContainerServiceImpl.java. References org.objectweb.jonas.web.AbsJWebContainerServiceImpl.setServerName(), and org.objectweb.jonas.web.AbsJWebContainerServiceImpl.setServerVersion(). |
Here is the call graph for this function:
|
Relative path of the configuration file Definition at line 102 of file CatalinaJWebContainerServiceImpl.java. |