org.jboss.modcluster.container.jbossweb
Class JBossWebEventHandlerAdapter
java.lang.Object
org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter
org.jboss.modcluster.container.jbossweb.JBossWebEventHandlerAdapter
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, NotificationListener, org.apache.catalina.ContainerListener, org.apache.catalina.LifecycleListener, CatalinaEventHandler
public class JBossWebEventHandlerAdapter
- extends CatalinaEventHandlerAdapter
- implements NotificationListener
- Author:
- Paul Ferraro
JBossWebEventHandlerAdapter
public JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler)
JBossWebEventHandlerAdapter
public JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler,
MBeanServer server)
JBossWebEventHandlerAdapter
public JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler,
MBeanServer server,
ServerProvider serverProvider,
CatalinaFactory factory)
init
protected void init(org.apache.catalina.Server server)
- Overrides:
init in class CatalinaEventHandlerAdapter
destroy
protected void destroy(org.apache.catalina.Server server)
- Overrides:
destroy in class CatalinaEventHandlerAdapter
handleNotification
public void handleNotification(Notification notification,
Object object)
-
- Specified by:
handleNotification in interface NotificationListener
- See Also:
NotificationListener.handleNotification(javax.management.Notification, java.lang.Object)
setServiceObjectName
public void setServiceObjectName(ObjectName serviceObjectName)
- Parameters:
serviceObjectName - the name to serverObjectName
setConnectorsStoppedNotificationType
public void setConnectorsStoppedNotificationType(String type)
- Parameters:
notificationType - the notificationType to set
setConnectorsStartedNotificationType
public void setConnectorsStartedNotificationType(String type)
- Parameters:
connectorsStartedNotificationType - the connectorsStartedNotificationType to set
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
isAfterInit
protected boolean isAfterInit(org.apache.catalina.LifecycleEvent event)
- Overrides:
isAfterInit in class CatalinaEventHandlerAdapter
isBeforeDestroy
protected boolean isBeforeDestroy(org.apache.catalina.LifecycleEvent event)
- Overrides:
isBeforeDestroy in class CatalinaEventHandlerAdapter
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.