| java.lang.Object javax.management.StandardMBean com.sun.jbi.management.support.DefaultLoggerMBeanImpl
All known Subclasses: com.sun.jbi.management.support.SystemServiceLoggerMBeanImpl,
DefaultLoggerMBeanImpl | public class DefaultLoggerMBeanImpl extends javax.management.StandardMBean implements LoggerMBean(Code) | | LoggerMBean defines standard controls for setting the properties of a
single JBI Framework service or JBI Installable Component logger.
author: Sun Microsystems, Inc. |
Field Summary | |
protected String | mDisplayName Display name to be used for this logger in the UI. | protected Logger | mLogger Copy of Logger handle managed by this LoggerMBean implementation. |
Method Summary | |
public String | getDisplayName() Get the localized display name of this logger. | public String | getLogLevel() Get the log level of this logger. | public String | getLoggerName() Get the name of this logger. | public int | setAll() Set the log level of this logger to ALL. | public int | setConfig() Set the log level of this logger to CONFIG. | public int | setDefault() Set the log level of this logger to null to inherit from its parent. | public int | setFine() Set the log level of this logger to FINE. | public int | setFiner() Set the log level of this logger to FINER. | public int | setFinest() Set the log level of this logger to FINEST. | public int | setInfo() Set the log level of this logger to INFO. | public int | setOff() Set the log level of this logger to OFF. | public int | setSevere() Set the log level of this logger to SEVERE. | public int | setWarning() Set the log level of this logger to WARNING. |
mDisplayName | protected String mDisplayName(Code) | | Display name to be used for this logger in the UI.
|
mLogger | protected Logger mLogger(Code) | | Copy of Logger handle managed by this LoggerMBean implementation.
|
DefaultLoggerMBeanImpl | public DefaultLoggerMBeanImpl(Logger aLogger) throws Exception(Code) | | Constructs a DefaultLoggerMBeanImpl .
|
DefaultLoggerMBeanImpl | public DefaultLoggerMBeanImpl(Logger aLogger, String aDisplayName) throws Exception(Code) | | Constructs a DefaultLoggerMBeanImpl .
|
getDisplayName | public String getDisplayName()(Code) | | Get the localized display name of this logger.
String representing the localized display name. |
getLogLevel | public String getLogLevel()(Code) | | Get the log level of this logger. If the level is not set, search the
parent logger chain until a logger is found with a level set.
String representing log level or null if no level is set. |
getLoggerName | public String getLoggerName()(Code) | | Get the name of this logger.
String representing the logger name. |
setAll | public int setAll()(Code) | | Set the log level of this logger to ALL.
0 if operation is successful, otherwise non-zero. |
setConfig | public int setConfig()(Code) | | Set the log level of this logger to CONFIG.
0 if operation is successful, otherwise non-zero. |
setDefault | public int setDefault()(Code) | | Set the log level of this logger to null to inherit from its parent.
0 if operation is successful, otherwise non-zero. |
setFine | public int setFine()(Code) | | Set the log level of this logger to FINE.
0 if operation is successful, otherwise non-zero. |
setFiner | public int setFiner()(Code) | | Set the log level of this logger to FINER.
0 if operation is successful, otherwise non-zero. |
setFinest | public int setFinest()(Code) | | Set the log level of this logger to FINEST.
0 if operation is successful, otherwise non-zero. |
setInfo | public int setInfo()(Code) | | Set the log level of this logger to INFO.
0 if operation is successful, otherwise non-zero. |
setOff | public int setOff()(Code) | | Set the log level of this logger to OFF.
0 if operation is successful, otherwise non-zero. |
setSevere | public int setSevere()(Code) | | Set the log level of this logger to SEVERE.
0 if operation is successful, otherwise non-zero. |
setWarning | public int setWarning()(Code) | | Set the log level of this logger to WARNING.
0 if operation is successful, otherwise non-zero. |
Methods inherited from javax.management.StandardMBean | protected void cacheMBeanInfo(MBeanInfo info)(Code)(Java Doc) public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList getAttributes(String[] attributes)(Code)(Java Doc) protected MBeanInfo getCachedMBeanInfo()(Code)(Java Doc) protected String getClassName(MBeanInfo info)(Code)(Java Doc) protected MBeanConstructorInfo[] getConstructors(MBeanConstructorInfo[] ctors, Object impl)(Code)(Java Doc) protected String getDescription(MBeanInfo info)(Code)(Java Doc) protected String getDescription(MBeanFeatureInfo info)(Code)(Java Doc) protected String getDescription(MBeanAttributeInfo info)(Code)(Java Doc) protected String getDescription(MBeanConstructorInfo info)(Code)(Java Doc) protected String getDescription(MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence)(Code)(Java Doc) protected String getDescription(MBeanOperationInfo info)(Code)(Java Doc) protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)(Code)(Java Doc) protected int getImpact(MBeanOperationInfo info)(Code)(Java Doc) public Object getImplementation()(Code)(Java Doc) public Class> getImplementationClass()(Code)(Java Doc) public MBeanInfo getMBeanInfo()(Code)(Java Doc) final public Class> getMBeanInterface()(Code)(Java Doc) protected String getParameterName(MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence)(Code)(Java Doc) protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)(Code)(Java Doc) public Object invoke(String actionName, Object params, String signature) throws MBeanException, ReflectionException(Code)(Java Doc) public void postDeregister()(Code)(Java Doc) public void postRegister(Boolean registrationDone)(Code)(Java Doc) public void preDeregister() throws Exception(Code)(Java Doc) public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException(Code)(Java Doc) public AttributeList setAttributes(AttributeList attributes)(Code)(Java Doc) public void setImplementation(Object implementation) throws NotCompliantMBeanException(Code)(Java Doc)
|
|
|