flex.management.runtime.messaging.log
Class LogManager

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.management.runtime.messaging.log.LogManager
All Implemented Interfaces:
Manageable, FlexComponent, FlexConfigurable

public class LogManager
extends ManageableComponent

The LogManager is an interface between the Log and the LogControl which exists because Log lives in the common package, so it cannot extend ManageableComponent itself, which is necessary for a class to be exposed through MBeans.


Constructor Summary
LogManager()
          Public constructor required by ManageableComponent.
LogManager(boolean enableManagement)
           
 
Method Summary
 boolean checkFilter(String filter)
           
 List getCategories()
           
 String[] getLoggers()
          Gets the Loggers as a string array.
 Target getTarget(String targetId)
          Get a Target for a targetId.
 String[] getTargetFilters(String targetId)
          Gets the filters for a given target.
 String[] getTargetIds()
          Gets the Target IDs.
 void setLog(Log logInstance)
           
 void setupLogControl()
           
 void stop()
          Invalidates and stops the component.
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, initialize, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogManager

public LogManager()
Public constructor required by ManageableComponent.


LogManager

public LogManager(boolean enableManagement)
Method Detail

setupLogControl

public void setupLogControl()

stop

public void stop()
Description copied from class: ManageableComponent
Invalidates and stops the component. Subclasses should call super.stop().

Specified by:
stop in interface FlexComponent
Overrides:
stop in class ManageableComponent

setLog

public void setLog(Log logInstance)

getLoggers

public String[] getLoggers()
Gets the Loggers as a string array.

Returns:
a String array

getTargetIds

public String[] getTargetIds()
Gets the Target IDs.

Returns:
a string array

getTarget

public Target getTarget(String targetId)
Get a Target for a targetId.

Parameters:
targetId -
Returns:
the target from the Log, or null if it is not found

getTargetFilters

public String[] getTargetFilters(String targetId)
Gets the filters for a given target.

Parameters:
targetId -
Returns:
a string array

checkFilter

public boolean checkFilter(String filter)
Parameters:
filter -
Returns:
whether the category exists in LogCategories

getCategories

public List getCategories()
Returns:
the list of categories in LogCategories


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

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/LogManager.html