|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.polling.jboss.ManagedDirectoryPollerService
An extension to the ManagedDirectoryPoller
mbean implementation which exposes JBoss' service
interface.
Constructor Summary | |
ManagedDirectoryPollerService()
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File directory)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File[] dirs)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File[] dirs,
java.io.FilenameFilter filter)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File[] dirs,
java.io.FilenameFilter filter,
boolean timeBased)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File directory,
java.io.FilenameFilter filter)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.File directory,
java.io.FilenameFilter filter,
boolean timeBased)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.FilenameFilter filter)
Constructor for ManagedDirectoryPollerService. |
|
ManagedDirectoryPollerService(java.io.FilenameFilter filter,
boolean timeBased)
Constructor for ManagedDirectoryPollerService. |
Method Summary | |
void |
addControlledDirectory(java.lang.String dir)
|
void |
addNotificationListener(ObjectName objectName)
|
void |
addNotificationListener(java.lang.String mbeanServerName,
ObjectName objectName)
|
int |
countControlledDirectories()
|
java.lang.String |
getAcceptedFilenamePattern()
|
boolean |
getAutoMove()
|
java.lang.String |
getAutoMoveDirectoryPath(java.lang.String directory)
|
long |
getBaseTime(java.lang.String directory)
|
java.lang.String |
getControlledDirectories()
|
java.lang.String |
getControlledDirectory(int i)
|
java.lang.String |
getEventsOrdering()
|
java.lang.String |
getFilenameFilterFactory()
|
java.lang.String |
getFilenameFilterFactoryClass()
|
java.lang.String |
getFilesSortComparatorClass()
|
java.io.FilenameFilter |
getFilter()
|
java.lang.String |
getJMXSequenceNumberGeneratorClass()
|
java.lang.String |
getJMXTimerObjectName()
|
long |
getPollInterval()
|
java.lang.String |
getPollManagerFactory()
|
java.lang.String |
getPollManagerFactoryClass()
|
void |
handleNotification(Notification arg0,
java.lang.Object arg1)
|
boolean |
isBypassLockedFiles()
|
boolean |
isDebugExceptions()
|
boolean |
isPollingTimeBased()
|
boolean |
isRunning()
|
boolean |
isSendSingleFileEvent()
|
boolean |
isStartBySleeping()
|
boolean |
isTimeBased()
|
boolean |
isUsingJMXTimer()
|
boolean |
isVerbose()
|
java.lang.String |
listControlledDirectories()
|
java.lang.String |
listInstalledPollManagers()
|
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean arg0)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
removeControlledDirectory(java.lang.String dir)
|
void |
removeNotificationListener(ObjectName objectName)
|
void |
removeNotificationListener(java.lang.String mbeanServerName,
ObjectName objectName)
|
void |
setAcceptedFilenamePattern(java.lang.String filenamePattern)
|
void |
setAutoMove(boolean v)
|
void |
setAutoMoveDirectoryPath(java.lang.String directory,
java.lang.String automoveDirectory)
|
void |
setBaseTime(java.lang.String directory,
long time)
|
void |
setBypassLockedFiles(boolean supportSlowTransfer)
|
void |
setControlledDirectories(java.lang.String commaSeparatedList)
|
void |
setDebugExceptions(boolean debugExceptions)
|
void |
setEventsOrdering(java.lang.String expr)
|
void |
setFilenameFilterFactoryClass(java.lang.String filenameFilterFactoryClsName)
|
void |
setFilesSortComparatorClass(java.lang.String fileComparatorClassName)
|
void |
setFilter(java.io.FilenameFilter filter)
|
void |
setJMXSequenceNumberGeneratorClass(java.lang.String sequenceNumberGeneratorClass)
|
void |
setJMXTimerObjectName(java.lang.String jMXTimerObjectName)
|
void |
setPollingTimeBased(boolean v)
|
void |
setPollInterval(long pollInterval)
|
void |
setPollManagerFactoryClass(java.lang.String factoryClass)
|
void |
setSendSingleFileEvent(boolean v)
|
void |
setStartBySleeping(boolean v)
|
void |
setTimeBased(boolean v)
|
void |
setUsingJMXTimer(boolean v)
|
void |
setVerbose(boolean v)
|
void |
shutDown()
|
void |
start()
|
void |
startUp()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ManagedDirectoryPollerService(java.io.File[] dirs, java.io.FilenameFilter filter)
dirs
- filter
- public ManagedDirectoryPollerService(java.io.File[] dirs)
dirs
- public ManagedDirectoryPollerService(java.io.File directory, java.io.FilenameFilter filter)
directory
- filter
- public ManagedDirectoryPollerService(java.io.File directory)
directory
- public ManagedDirectoryPollerService(java.io.FilenameFilter filter)
filter
- public ManagedDirectoryPollerService()
public ManagedDirectoryPollerService(java.io.File[] dirs, java.io.FilenameFilter filter, boolean timeBased)
dirs
- filter
- timeBased
- public ManagedDirectoryPollerService(java.io.File directory, java.io.FilenameFilter filter, boolean timeBased)
directory
- filter
- timeBased
- public ManagedDirectoryPollerService(java.io.FilenameFilter filter, boolean timeBased)
filter
- timeBased
- Method Detail |
public void start()
start
in interface ManagedDirectoryPollerServiceMBean
public void stop()
stop
in interface ManagedDirectoryPollerServiceMBean
ManagedDirectoryPollerServiceMBean.stop()
public void addControlledDirectory(java.lang.String dir) throws MBeanException
addControlledDirectory
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.addControlledDirectory(java.lang.String)
public int countControlledDirectories() throws MBeanException
countControlledDirectories
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.countControlledDirectories()
public boolean getAutoMove()
getAutoMove
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getAutoMove()
public java.lang.String getAutoMoveDirectoryPath(java.lang.String directory) throws MBeanException
getAutoMoveDirectoryPath
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.getAutoMoveDirectoryPath(java.lang.String)
public long getBaseTime(java.lang.String directory)
getBaseTime
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getBaseTime(java.lang.String)
public java.lang.String getControlledDirectories()
getControlledDirectories
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getControlledDirectories()
public java.lang.String getControlledDirectory(int i) throws MBeanException
getControlledDirectory
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.getControlledDirectory(int)
public long getPollInterval()
getPollInterval
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getPollInterval()
public boolean isPollingTimeBased()
isPollingTimeBased
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isPollingTimeBased()
public boolean isRunning() throws MBeanException
isRunning
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.isRunning()
public boolean isSendSingleFileEvent()
isSendSingleFileEvent
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isSendSingleFileEvent()
public boolean isStartBySleeping()
isStartBySleeping
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isStartBySleeping()
public boolean isTimeBased()
isTimeBased
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isTimeBased()
public boolean isVerbose()
isVerbose
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isVerbose()
public java.lang.String listControlledDirectories()
listControlledDirectories
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.listControlledDirectories()
public java.lang.String listInstalledPollManagers()
listInstalledPollManagers
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.listInstalledPollManagers()
public void removeControlledDirectory(java.lang.String dir) throws MBeanException
removeControlledDirectory
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.removeControlledDirectory(java.lang.String)
public void setAutoMove(boolean v)
setAutoMove
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setAutoMove(boolean)
public void setBaseTime(java.lang.String directory, long time)
setBaseTime
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setBaseTime(java.lang.String, long)
public void setControlledDirectories(java.lang.String commaSeparatedList)
setControlledDirectories
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setControlledDirectories(java.lang.String)
public void setPollingTimeBased(boolean v)
setPollingTimeBased
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setPollingTimeBased(boolean)
public void setPollInterval(long pollInterval)
setPollInterval
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setPollInterval(long)
public void setSendSingleFileEvent(boolean v)
setSendSingleFileEvent
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setSendSingleFileEvent(boolean)
public void setStartBySleeping(boolean v)
setStartBySleeping
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setStartBySleeping(boolean)
public void setVerbose(boolean v)
setVerbose
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setVerbose(boolean)
public void shutDown() throws MBeanException
shutDown
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.shutDown()
public void startUp() throws MBeanException
startUp
in interface ManagedDirectoryPollerMBean
MBeanException
ManagedDirectoryPollerMBean.startUp()
public java.lang.String getPollManagerFactoryClass()
getPollManagerFactoryClass
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getPollManagerFactory()
public void setPollManagerFactoryClass(java.lang.String factoryClass) throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
setPollManagerFactoryClass
in interface ManagedDirectoryPollerMBean
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
ManagedDirectoryPollerMBean.setPollManagerFactoryClass(java.lang.String)
public java.lang.String getPollManagerFactory()
getPollManagerFactory
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getPollManagerFactory()
public java.lang.String getJMXTimerObjectName()
getJMXTimerObjectName
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getJMXTimerObjectName()
public boolean isUsingJMXTimer()
isUsingJMXTimer
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.isUsingJMXTimer()
public void setJMXTimerObjectName(java.lang.String jMXTimerObjectName)
setJMXTimerObjectName
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setJMXTimerObjectName(java.lang.String)
public void setUsingJMXTimer(boolean v)
setUsingJMXTimer
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.setUsingJMXTimer(boolean)
public java.io.FilenameFilter getFilter()
getFilter
in interface ManagedDirectoryPollerMBean
ManagedDirectoryPollerMBean.getFilter()
public void setFilter(java.io.FilenameFilter filter)
org.sadun.util.polling.ManagedDirectoryPollerMBean#setFilter(java.io.FilenameFilter)
public void postDeregister()
javax.management.MBeanRegistration#postDeregister()
public void postRegister(java.lang.Boolean arg0)
javax.management.MBeanRegistration#postRegister(Boolean)
public void preDeregister() throws java.lang.Exception
java.lang.Exception
javax.management.MBeanRegistration#preDeregister()
public ObjectName preRegister(MBeanServer server, ObjectName name) throws java.lang.Exception
java.lang.Exception
javax.management.MBeanRegistration#preRegister(MBeanServer, ObjectName)
public void handleNotification(Notification arg0, java.lang.Object arg1)
javax.management.NotificationListener#handleNotification(Notification, Object)
public void setFilenameFilterFactoryClass(java.lang.String filenameFilterFactoryClsName) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
setFilenameFilterFactoryClass
in interface ManagedDirectoryPollerMBean
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
public java.lang.String getFilenameFilterFactory()
getFilenameFilterFactory
in interface ManagedDirectoryPollerMBean
public java.lang.String getFilenameFilterFactoryClass()
getFilenameFilterFactoryClass
in interface ManagedDirectoryPollerMBean
public java.lang.String getAcceptedFilenamePattern()
getAcceptedFilenamePattern
in interface ManagedDirectoryPollerMBean
public void setAcceptedFilenamePattern(java.lang.String filenamePattern)
setAcceptedFilenamePattern
in interface ManagedDirectoryPollerMBean
public void setAutoMoveDirectoryPath(java.lang.String directory, java.lang.String automoveDirectory)
setAutoMoveDirectoryPath
in interface ManagedDirectoryPollerMBean
public java.lang.String getFilesSortComparatorClass()
getFilesSortComparatorClass
in interface ManagedDirectoryPollerMBean
public void setFilesSortComparatorClass(java.lang.String fileComparatorClassName) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
setFilesSortComparatorClass
in interface ManagedDirectoryPollerMBean
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
public java.lang.String getEventsOrdering()
getEventsOrdering
in interface ManagedDirectoryPollerMBean
public void setEventsOrdering(java.lang.String expr)
setEventsOrdering
in interface ManagedDirectoryPollerMBean
public java.lang.String getJMXSequenceNumberGeneratorClass()
getJMXSequenceNumberGeneratorClass
in interface ManagedDirectoryPollerMBean
public void setJMXSequenceNumberGeneratorClass(java.lang.String sequenceNumberGeneratorClass) throws MBeanException
setJMXSequenceNumberGeneratorClass
in interface ManagedDirectoryPollerMBean
MBeanException
public void addNotificationListener(ObjectName objectName) throws InstanceNotFoundException
addNotificationListener
in interface ManagedDirectoryPollerMBean
InstanceNotFoundException
public void addNotificationListener(java.lang.String mbeanServerName, ObjectName objectName) throws InstanceNotFoundException
addNotificationListener
in interface ManagedDirectoryPollerMBean
InstanceNotFoundException
public void removeNotificationListener(ObjectName objectName) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface ManagedDirectoryPollerMBean
InstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(java.lang.String mbeanServerName, ObjectName objectName) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface ManagedDirectoryPollerMBean
InstanceNotFoundException
ListenerNotFoundException
public boolean isBypassLockedFiles()
isBypassLockedFiles
in interface ManagedDirectoryPollerMBean
public void setBypassLockedFiles(boolean supportSlowTransfer)
setBypassLockedFiles
in interface ManagedDirectoryPollerMBean
public boolean isDebugExceptions()
isDebugExceptions
in interface ManagedDirectoryPollerMBean
public void setDebugExceptions(boolean debugExceptions)
setDebugExceptions
in interface ManagedDirectoryPollerMBean
public void setTimeBased(boolean v)
setTimeBased
in interface ManagedDirectoryPollerMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |