public class Fabric3WebLogicListener
extends java.lang.Object
implements javax.servlet.ServletContextListener
| Constructor and Description |
|---|
Fabric3WebLogicListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
java.lang.String |
getRuntimeId(javax.management.MBeanServer mbServer) |
void |
prepare(org.fabric3.api.model.type.RuntimeMode runtimeMode,
javax.management.MBeanServer mBeanServer,
java.io.File installDirectory,
javax.management.ObjectName componentRuntime)
Prepares the runtime.
|
void |
start(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName componentRuntime,
org.fabric3.api.model.type.RuntimeMode runtimeMode)
Starts the runtime.
|
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void prepare(org.fabric3.api.model.type.RuntimeMode runtimeMode,
javax.management.MBeanServer mBeanServer,
java.io.File installDirectory,
javax.management.ObjectName componentRuntime)
runtimeMode - the mode to start the runtime inmBeanServer - the WebLogic runtime mBeanServerinstallDirectory - the directory containing the Fabric3 runtime imagecomponentRuntime - the component runtime MBean used to determine the state of the F3 host web applicationpublic void start(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName componentRuntime,
org.fabric3.api.model.type.RuntimeMode runtimeMode)
mBeanServer - the MBean servercomponentRuntime - the component runtime MBeanruntimeMode - the runtime modepublic java.lang.String getRuntimeId(javax.management.MBeanServer mbServer)
throws javax.management.JMException
javax.management.JMException