org.sadun.util.polling.test
Class TestPollManagerFactory

java.lang.Object
  extended byorg.sadun.util.polling.test.TestPollManagerFactory
All Implemented Interfaces:
PollManagerFactory

public class TestPollManagerFactory
extends java.lang.Object
implements PollManagerFactory

A PollManagerFactory which produces one instance of TestPollManager

Author:
cris

Constructor Summary
TestPollManagerFactory()
           
 
Method Summary
 PollManager[] createPollManagers(java.lang.String name)
          Create the PollManager to add to the ManagedDirectoryPoller MBean.
 java.lang.String getDescription()
          Provides a description of the factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPollManagerFactory

public TestPollManagerFactory()
Method Detail

createPollManagers

public PollManager[] createPollManagers(java.lang.String name)
Description copied from interface: PollManagerFactory
Create the PollManager to add to the ManagedDirectoryPoller MBean.

The MBean JMX ObjectName is passed to the factory, so that it can discriminate among different Mbean instances.

* @param mBeanName the ObjectName of the MBean to which the PollManagers are going to be added. * @return PollManager[] the PollManager objects to add.

Specified by:
createPollManagers in interface PollManagerFactory
See Also:
org.sadun.util.polling.PollManagerFactory#createPollManagers()

getDescription

public java.lang.String getDescription()
Description copied from interface: PollManagerFactory
Provides a description of the factory. * @return String

Specified by:
getDescription in interface PollManagerFactory
See Also:
PollManagerFactory.getDescription()


Copyright © 1999, 2000 Cristiano Sadun. This software is released under GPL.