|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.BaseControl
flex.management.runtime.messaging.log.LogControl
public class LogControl
The LogControl class is the MBean implemenation
for monitoring and managing a Log at runtime through the LogManager.
| Field Summary |
|---|
| Fields inherited from class flex.management.BaseControl |
|---|
DOMAIN_PREFIX |
| Constructor Summary | |
|---|---|
LogControl(BaseControl parent,
LogManager manager)
Creates the mbean and registers it with the mbean server. |
|
| Method Summary | |
|---|---|
void |
addFilterForTarget(String targetId,
String filter)
Adds a filter for the target. |
void |
changeTargetLevel(String searchId,
String level)
Sets the logging level for the target associated with the unique ID searchId. |
String[] |
getCategories()
Returns the array of log categories. |
String |
getId()
Returns the id for this MBean. |
String[] |
getLoggers()
|
String[] |
getTargetFilters(String targetId)
Returns the array of log target filters. |
Integer |
getTargetLevel(String searchId)
Returns the target level. |
String[] |
getTargets()
Returns the array of log targets. |
String |
getType()
Returns the type for this MBean. |
void |
removeFilterForTarget(String targetId,
String filter)
Removes a filter from the target. |
| Methods inherited from class flex.management.BaseControl |
|---|
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, postDeregister, postRegister, preDeregister, preRegister, register, setStartTimestamp, unregister |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.management.BaseControlMBean |
|---|
getParent |
| Constructor Detail |
|---|
public LogControl(BaseControl parent,
LogManager manager)
parent - BaseControlmanager - A reference to the LogManager| Method Detail |
|---|
public void changeTargetLevel(String searchId,
String level)
changeTargetLevel in interface LogControlMBeansearchId - level - public String getId()
BaseControlMBeanid key in the ObjectName for this MBean.
getId in interface BaseControlMBeangetId in class BaseControlpublic String getType()
BaseControlMBeantype key in the ObjectName for this MBean.
getType in interface BaseControlMBeangetType in class BaseControlpublic String[] getLoggers()
public String[] getTargets()
LogControlMBean
getTargets in interface LogControlMBean
public void addFilterForTarget(String targetId,
String filter)
LogControlMBean
addFilterForTarget in interface LogControlMBeantargetId - The filter.filter - The target id.public String[] getTargetFilters(String targetId)
LogControlMBean
getTargetFilters in interface LogControlMBeantargetId - The target id.
public void removeFilterForTarget(String targetId,
String filter)
LogControlMBean
removeFilterForTarget in interface LogControlMBeantargetId - The filter.filter - The target id.public String[] getCategories()
LogControlMBean
getCategories in interface LogControlMBeanpublic Integer getTargetLevel(String searchId)
LogControlMBean
getTargetLevel in interface LogControlMBeansearchId - The target id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/management/runtime/messaging/log/LogControl.html