test.compliance.core.notification
Class InvokerTest

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.mx.notification.AsynchNotificationBroadcasterSupport
          extended by test.compliance.core.notification.InvokerTest
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, InvokerTestMBean

public class InvokerTest
extends AsynchNotificationBroadcasterSupport
implements InvokerTestMBean

Used in JMX invoker adaptor test.

Version:
$Revision: 81023 $
Author:
Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.mx.notification.AsynchNotificationBroadcasterSupport
AsynchNotificationBroadcasterSupport.AsynchNotifier
 
Constructor Summary
InvokerTest()
           
 
Method Summary
 void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 CustomClass doSomething()
           
 CustomClass doSomething(CustomClass custom)
           
 CustomClass getCustom()
           
 NonserializableClass getNonserializableClass()
           
 String getSomething()
           
 Element getXml()
           
 void removeNotificationListener(NotificationListener listener)
           
 void setCustom(CustomClass custom)
           
 void setNonserializableClass(NonserializableClass custom)
           
 void setXml(Element xml)
           
 void stop()
           
 
Methods inherited from class org.jboss.mx.notification.AsynchNotificationBroadcasterSupport
getDefaultNotificationTimeout, getNotificationTimeout, getThreadPool, handleNotification, setDefaultNotificationTimeout, setDefaultThreadPool, setNotificationTimeout, setThreadPool, stopThreadPool
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
getNotificationInfo, nextNotificationSequenceNumber, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokerTest

public InvokerTest()
Method Detail

getSomething

public String getSomething()
Specified by:
getSomething in interface InvokerTestMBean

addNotificationListener

public void addNotificationListener(NotificationListener listener,
                                    NotificationFilter filter,
                                    Object handback)
Specified by:
addNotificationListener in interface NotificationBroadcaster
Overrides:
addNotificationListener in class JBossNotificationBroadcasterSupport

removeNotificationListener

public void removeNotificationListener(NotificationListener listener)
                                throws ListenerNotFoundException
Specified by:
removeNotificationListener in interface NotificationBroadcaster
Overrides:
removeNotificationListener in class JBossNotificationBroadcasterSupport
Throws:
ListenerNotFoundException

getCustom

public CustomClass getCustom()
Specified by:
getCustom in interface InvokerTestMBean

setCustom

public void setCustom(CustomClass custom)
Specified by:
setCustom in interface InvokerTestMBean

getNonserializableClass

public NonserializableClass getNonserializableClass()
Specified by:
getNonserializableClass in interface InvokerTestMBean

setNonserializableClass

public void setNonserializableClass(NonserializableClass custom)
Specified by:
setNonserializableClass in interface InvokerTestMBean

getXml

public Element getXml()
Specified by:
getXml in interface InvokerTestMBean

setXml

public void setXml(Element xml)
Specified by:
setXml in interface InvokerTestMBean

doSomething

public CustomClass doSomething(CustomClass custom)
Specified by:
doSomething in interface InvokerTestMBean

doSomething

public CustomClass doSomething()
Specified by:
doSomething in interface InvokerTestMBean

stop

public void stop()
Specified by:
stop in interface InvokerTestMBean


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.