mod_cluster-container-jbossweb 1.2.12.Final

org.jboss.modcluster.container.jbossweb
Class JBossWebEventHandlerAdapter

java.lang.Object
  extended by org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter
      extended by 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

Field Summary
 
Fields inherited from class org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter
eventHandler, factory, init, serverProvider, start
 
Constructor Summary
JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler)
           
JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler, MBeanServer server)
           
JBossWebEventHandlerAdapter(org.jboss.modcluster.container.ContainerEventHandler eventHandler, MBeanServer server, ServerProvider serverProvider, CatalinaFactory factory)
           
 
Method Summary
protected  void destroy(org.apache.catalina.Server server)
           
 void handleNotification(Notification notification, Object object)
          
 int hashCode()
          
protected  void init(org.apache.catalina.Server server)
           
protected  boolean isAfterInit(org.apache.catalina.LifecycleEvent event)
           
protected  boolean isBeforeDestroy(org.apache.catalina.LifecycleEvent event)
           
 void setConnectorsStartedNotificationType(String type)
           
 void setConnectorsStoppedNotificationType(String type)
           
 void setServiceObjectName(ObjectName serviceObjectName)
           
 
Methods inherited from class org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter
containerEvent, lifecycleEvent, propertyChange, start, stop, toObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

mod_cluster-container-jbossweb 1.2.12.Final

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.