Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)
weblogic.management.configuration
Interface LogFilterMBean
- All Superinterfaces:
- ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, WebLogicMBean
- public interface LogFilterMBean
- extends ConfigurationMBean
This MBean represents a filter to qualify log messages which are selected
by the specified filter expression criteria.
A message must meet all the specified criteria to qualify the filter.
Multiple instances of this MBean can be defined, if needed. If there are
multiple instances, a message must qualify at least one filter to qualify
for the log file.
Deprecation of MBeanHome and
Type-Safe Interfaces
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://edocs.bea.com.
- Since:
- 9.0.0.0
- Copyright © 2005 BEA Systems, Inc. All Rights Reserved.
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
getFilterExpression
public String getFilterExpression()
The filter expression to be evaluated for qualifying log messages.
The filter expression is specified as a string in the query language.
The query language supports Boolean operators: AND, OR, and NOT, and relational operators.
You can use the following column names (message attributes) in a query to filter data going to a log destination:
RECORDID, DATE, SEVERITY, SUBSYSTEM, MACHINE, SERVER, THREAD, USERID, TXID, CONTEXTID, TIMESTAMP, MSGID, and MESSAGE.
- See Also:
- WLDF Query Language
- A dynamic MBean attribute.
setFilterExpression
public void setFilterExpression(String filterExp)
throws InvalidAttributeValueException
- Sets the expression for this filter.
- Parameters:
filterExp
- The expression for this filter.
- Throws:
InvalidAttributeValueException
setSeverityLevel
public void setSeverityLevel(int severityLevel)
setSubsystemNames
public void setSubsystemNames(String[] subsystemList)
setUserIds
public void setUserIds(String[] userIdList)