?? pollmanagerfactory.java
字號:
package org.sadun.util.polling;
/**
* This interface is used in conjunction with the JMX instrumentation
* {@link ManagedDirectoryPoller ManagedDirectoryPoller} of {@link
* DirectoryPoller DirectoryPoller}.
* <p>
* The JMX console user can specify the name of a class implementing
* this interface, which is in turn used to produce a set of {@link PollManager
* PollManager} objects which are added to {@link ManagedDirectoryPoller
* ManagedDirectoryPoller}.
* <p>
* The implementing class must have a public default constructor.
*
* @author cris
*/
public interface PollManagerFactory {
/**
* Create the {@link PollManager PollManager} to add to the
* {@link ManagedDirectoryPoller ManagedDirectoryPoller} MBean.
* <p>
* The MBean JMX <tt>ObjectName</tt> is passed to the factory,
* so that it can discriminate among different Mbean instances.
* <p>
* @param mBeanName the <tt>ObjectName</tt> of the MBean to which the
* {@link PollManager PollManager}s are going to be added.
* @return PollManager[] the PollManager objects to add.
*/
public PollManager[] createPollManagers(String mBeanName);
/**
* Provides a description of the factory.
* @return String
*/
public String getDescription();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -