org.apache.felix.ipojo.handlers.event
Annotation Type Subscriber


@Target(value=METHOD)
public @interface Subscriber

Event Admin Subscriber handler. Be aware that despite is it provided in the annotations jar, it refers to an external handler.

Author:
Felix Project Team

Required Element Summary
 String name
          Sets the subscriber name.
 
Optional Element Summary
 String data_key
          Sets the data key in which the data is stored.
 String data_type
          Sets the data type (type of the received data).
 String filter
          Sets the event filter.
 String topics
          Sets topics on which event are received.
 

Element Detail

name

public abstract String name
Sets the subscriber name.

topics

public abstract String topics
Sets topics on which event are received. The topics are separated by a ',' such as in "foo, bar". Default : no topics (configured in the instance configuration)

Default:
""

data_key

public abstract String data_key
Sets the data key in which the data is stored. Default : no key

Default:
""

data_type

public abstract String data_type
Sets the data type (type of the received data). Default : no type.

Default:
""

filter

public abstract String filter
Sets the event filter. Only event matching with the specified LDAP filter are received. default : no filter;

Default:
""


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.