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


@Target(value=FIELD)
public @interface Publishes

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 dataKey
          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

dataKey

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

Default:
"user.data"


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