Package wt.logs
Class LogsDirViewer
java.lang.Object
javax.management.StandardMBean
wt.jmx.core.StandardMBean
wt.jmx.core.SelfAwareMBean
wt.jmx.core.mbeans.AbstractFileView
wt.jmx.core.mbeans.DirView
wt.jmx.core.mbeans.ManagedDirView
wt.logs.LogsDirViewer
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,BaseObjectNamed,AbstractFileViewMBean,DirViewMBean,ManagedDirViewMBean,SelfEmailingMBean
- Direct Known Subclasses:
EnigmaLogsDirViewer,JBossServerLogsDirViewer,PsiInstallerDirViewer,SciInstallerDirViewer,ServletLogsDirViewer,WebServerLogsDirViewer
Extension of
Supported API: true
Extendable: false
ManagedDirView that provides a view of log
files in a directory specified by a given wt or system properties entry.
Supported API: true
Extendable: false
-
Nested Class Summary
Nested classes/interfaces inherited from class wt.jmx.core.mbeans.ManagedDirView
ManagedDirView.CompressOldAndDeleteReallyOldFiles, ManagedDirView.FileDeleter -
Constructor Summary
ConstructorsModifierConstructorDescriptionLogsDirViewer(String propertyName) Constructor which allows specification of a log directory via a property name.protectedLogsDirViewer(String propertyName, String[] fileExtensions) Constructor which allows specification of a log directory via a property name and allows a list of file extensions to be shown to be passed. -
Method Summary
Methods inherited from class wt.jmx.core.mbeans.ManagedDirView
newManagedDirView, newManagedDirView, newManagedDirViewMethods inherited from class wt.jmx.core.mbeans.DirView
newDirView, newDirView, newDirViewMethods 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, stopMethods inherited from class wt.jmx.core.StandardMBean
cacheMBeanInfo, cacheMBeanInfoInInstance, createMBeanInfo, emailThisMBean, getAttributes, getCachedInstanceMBeanInfo, getCachedMBeanInfo, getDescription, getDescription, getDescription, getDescription, getImpact, getMBeanInfo, getParameterName, setAttributesMethods inherited from class javax.management.StandardMBean
getAttribute, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, invoke, setAttribute, setImplementationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface wt.jmx.core.mbeans.AbstractFileViewMBean
getLastModifiedTime, getName, getPath, isExistsMethods inherited from interface wt.jmx.core.mbeans.DirViewMBean
emailFiles, emailFiles, emailFiles, getAllowGzip, getAllowNumericSuffixes, getFileAsGzippedBytes, getFileAsStreamingResult, getFileAsStreamingResult, getFileExtensions, getFileMatchingExpression, getFilesAsStreamingResult, getFilesAsStreamingResult, getFreeSpace, getLastModifiedTime, getPercentFreeSpace, getPercentUsableSpace, getTotalSpace, getUsableSpace, listFiles, listFiles, refresh, searchFiles, searchFiles, searchFiles, searchFiles, searchFilesAsMap, searchFilesAsMap, searchFilesAsMap, searchFilesAsMap, sendFilesToSupport, sendFilesToSupport, sendFilesToSupport, viewFile, viewFileMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Constructor Details
-
LogsDirViewer
Constructor which allows specification of a log directory via a property name. Files without expected log file extensions are automatically filtered out.
Supported API: true- Parameters:
propertyName- Name of wt or system property specifying log directory- Throws:
NotCompliantMBeanException
-
LogsDirViewer
protected LogsDirViewer(String propertyName, String[] fileExtensions) throws NotCompliantMBeanException Constructor which allows specification of a log directory via a property name and allows a list of file extensions to be shown to be passed.
Supported API: true- Parameters:
propertyName- Name of wt or system property specifying log directoryfileExtensions- File extensions not to filter out; if null, then no files are filtered out- Throws:
NotCompliantMBeanException
-