Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


com.tangosol.net.management
Class ObjectNameExcludeFilter

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.management.ObjectNameExcludeFilter

All Implemented Interfaces:
Filter

public class ObjectNameExcludeFilter
extends Base
implements Filter

Filter used to prevent registering MBeans that match the specified pattern.

Since:
Coherence 3.6
Author:
gg 2010.05.02

Field Summary
protected  Filter m_filter
          The underlying filter.

 

Constructor Summary
ObjectNameExcludeFilter(String sPatterns)
          Construct an ObjectNameExcludeFilter based on one or more regular expressions.
ObjectNameExcludeFilter(String[] asPattern)
          Construct an ObjectNameExcludeFilter based on one or more regular expressions.

 

Method Summary
 boolean equals(Object o)
          Compare the ObjectNameExcludeFilter with another object to determine equality.
 boolean evaluate(Object o)
          Apply the test to the object.
 int hashCode()
          Determine a hash value for the ObjectNameExcludeFilter object according to the general Object.hashCode() contract.
 String toString()
          Return a human-readable description for this Filter.

 

Field Detail

m_filter

protected Filter m_filter
The underlying filter.

Constructor Detail

ObjectNameExcludeFilter

public ObjectNameExcludeFilter(String[] asPattern)
Construct an ObjectNameExcludeFilter based on one or more regular expressions. The MBeans that match any of the specified patterns will not be registered with the Coherence JMX Framework.
Parameters:
asPattern - an array of patterns to match

ObjectNameExcludeFilter

public ObjectNameExcludeFilter(String sPatterns)
Construct an ObjectNameExcludeFilter based on one or more regular expressions. The MBeans that match any of the specified patterns will not be registered with the Coherence JMX Framework.
Parameters:
sPatterns - a white space delimited sequence of patterns to match

Method Detail

evaluate

public boolean evaluate(Object o)
Apply the test to the object.
Specified by:
evaluate in interface Filter
Parameters:
o - the object to test
Returns:
true if the test passes, false otherwise

equals

public boolean equals(Object o)
Compare the ObjectNameExcludeFilter with another object to determine equality. Two ObjectNameExcludeFilter objects are considered equal iff they belong to exactly the same class and their filters are equal.
Returns:
true iff this ObjectNameExcludeFilter and the passed object are equivalent ObjectNameExcludeFilters

hashCode

public int hashCode()
Determine a hash value for the ObjectNameExcludeFilter object according to the general Object.hashCode() contract.
Returns:
an integer hash value for this ObjectNameExcludeFilter object

toString

public String toString()
Return a human-readable description for this Filter.
Returns:
a String description of the Filter

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.