ListenerSubscriptionPair (Mule ESB 2.2.1 API)
Keywords: org.mule.context.notification.ListenerSubscriptionPair class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.context.notification
Class ListenerSubscriptionPair

    java.lang.Object
      org.mule.context.notification.ListenerSubscriptionPair

    public class ListenerSubscriptionPair

extends Object

A simple tuple that stores a listener with an optional subscription (used to match a resource ID).

Constructor Summary
`ListenerSubscriptionPair()` For config - must be constructed using the setters
`ListenerSubscriptionPair(ServerNotificationListener listener)`
`ListenerSubscriptionPair(ServerNotificationListener listener, String subscription)`

Method Summary
`ServerNotificationListener` | `getListener()`
`String` | `getSubscription()`
`boolean` | `isNullSubscription()`
`void` | `setListener(ServerNotificationListener listener)`
`void` | `setSubscription(String subscription)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ListenerSubscriptionPair

    public ListenerSubscriptionPair()

  For config - must be constructed using the setters

### ListenerSubscriptionPair

    public ListenerSubscriptionPair(ServerNotificationListener listener)

### ListenerSubscriptionPair

    public ListenerSubscriptionPair(ServerNotificationListener listener,
                                    String subscription)

Method Detail

### setListener

    public void setListener(ServerNotificationListener listener)

### setSubscription

    public void setSubscription(String subscription)

### getListener

    public ServerNotificationListener getListener()

### getSubscription

    public String getSubscription()

### isNullSubscription

    public boolean isNullSubscription()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.