Brooklyn

brooklyn.event.feed.jmx
[Java] Class JmxNotificationFilters

java.lang.Object
  brooklyn.event.feed.jmx.JmxNotificationFilters

public class JmxNotificationFilters

Method Summary
static javax.management.NotificationFilter matchesType(java.lang.String type)

Matches the given notification type.

static javax.management.NotificationFilter matchesTypeRegex(java.lang.String typeRegex)

deprecated:
since 0.6.0; only works if this brooklyn class is on the classpath of the JVM that your subscribing to notifications on (because it tries to push the filter instance to that JVM).

static javax.management.NotificationFilter matchesTypes(java.lang.String... types)

Matches any of the given notification types.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

matchesType

public static javax.management.NotificationFilter matchesType(java.lang.String type)
Matches the given notification type.
See Also:
javax.management.NotificationFilterSupport#enableType(java.lang.String)


matchesTypeRegex

public static NotificationFilter matchesTypeRegex(final String typeRegex) {
public static javax.management.NotificationFilter matchesTypeRegex(java.lang.String typeRegex)
deprecated:
since 0.6.0; only works if this brooklyn class is on the classpath of the JVM that your subscribing to notifications on (because it tries to push the filter instance to that JVM). So of very limited use in real-world java processes to be managed. Therefore this will be deleted to avoid people hitting this surprising behaviour.


matchesTypes

public static javax.management.NotificationFilter matchesTypes(java.lang.String... types)
Matches any of the given notification types.
See Also:
javax.management.NotificationFilterSupport#enableType(java.lang.String)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.