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


@Target(value=FIELD)
public @interface Publisher

Event Admin Publisher 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 publisher name.
 
Optional Element Summary
 String data_key
          Sets the data key in which the data is put.
 boolean synchronous
          Enables/Disables synchronous sending.
 String topics
          Sets topics on which event are sent.
 

Element Detail

name

public abstract String name
Sets the publisher name.

topics

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

Default:
""

synchronous

public abstract boolean synchronous
Enables/Disables synchronous sending. Default : false (asynchronous)

Default:
false

data_key

public abstract String data_key
Sets the data key in which the data is put. Default : user.data

Default:
"user.data"


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