wt.jmx.core.mbeans
Class DirView

java.lang.Object
  extended by wt.jmx.core.StandardMBeanFix
      extended by wt.jmx.core.StandardMBean
          extended by wt.jmx.core.SelfAwareMBean
              extended by wt.jmx.core.mbeans.AbstractFileView
                  extended by wt.jmx.core.mbeans.DirView
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, BaseObjectNamed, AbstractFileViewMBean, DirViewMBean, SelfEmailingMBean
Direct Known Subclasses:
LogsDirViewer, SimpleDirViewer

public class DirView
extends wt.jmx.core.mbeans.AbstractFileView
implements DirViewMBean

MBean that provides a simple view of a file system directory.

Supported API: true

Extendable: false


Nested Class Summary
protected  class wt.jmx.core.mbeans.DirView.ChildFilter
          FileFilter which decides which children are shown and eligible for e-mailing (though further filtering is generally done on files to be e-mailed).
 
Method Summary
static DirView newDirView(File dir, String[] fileExtensions)
          Static factory method.
static DirView newDirView(File dir, String[] fileExtensions, boolean allowNumericSuffixes, boolean refreshOnStart)
          Static factory method.
static DirView newDirView(File dir, String fileMatchingExpression, boolean refreshOnStart)
          Static factory method.
 
Methods inherited from class wt.jmx.core.SelfAwareMBean
deregister, destroy, getBaseObjectName, getObjectName, getObjectNameOnPreRegister, getOwnerMBean, getSelfAwareMBean, init, isInited, isRegistered, isStarted, onDestroy, onInit, postDeregister, postRegister, preDeregister, preRegister, register, register, register, resetObjectName, setOwnerMBean, start, stop
 
Methods inherited from class wt.jmx.core.StandardMBean
cacheMBeanInfo, cacheMBeanInfoInInstance, createMBeanInfo, emailThisMBean, getCachedInstanceMBeanInfo, getCachedMBeanInfo, getDescription, getDescription, getDescription, getDescription, getImpact, getMBeanInfo, getParameterName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.jmx.core.mbeans.AbstractFileViewMBean
getLastModifiedTime, getName, getPath, isExists
 
Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
 

Method Detail

newDirView

public static DirView newDirView(File dir,
                                 String[] fileExtensions)
Static factory method.

Supported API: true


newDirView

public static DirView newDirView(File dir,
                                 String[] fileExtensions,
                                 boolean allowNumericSuffixes,
                                 boolean refreshOnStart)
Static factory method.

Supported API: true


newDirView

public static DirView newDirView(File dir,
                                 String fileMatchingExpression,
                                 boolean refreshOnStart)
Static factory method.

Supported API: true