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.osgi.service.blueprint.reflect
Interface ReferenceListener

    public interface ReferenceListener

Metadata for a reference listener interested in the reference bind and unbind events for a service reference.

Version:
  $Revision: 7563 $

Method Summary
`String` | `getBindMethod()` Return the name of the bind method.
`Target` | `getListenerComponent()` Return the Metadata for the component that will receive bind and unbind events.
`String` | `getUnbindMethod()` Return the name of the unbind method.

Method Detail

### getListenerComponent

    Target getListenerComponent()

  Return the Metadata for the component that will receive bind and unbind events. This is specified by the `ref` attribute or via an inlined component.

  Returns:
    The Metadata for the component that will receive bind and unbind events.

### getBindMethod

    String getBindMethod()

  Return the name of the bind method. The bind method will be invoked when a matching service is bound to the reference. This is specified by the `bind-method` attribute of the reference listener.

  Returns:
    The name of the bind method.

### getUnbindMethod

    String getUnbindMethod()

  Return the name of the unbind method. The unbind method will be invoked when a matching service is unbound from the reference. This is specified by the `unbind-method` attribute of the reference listener.

  Returns:
    The name of the unbind method.

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 © 2006-2013. All Rights Reserved.