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


@Target(value={FIELD,ANNOTATION_TYPE})
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
 java.lang.String name
          Sets the publisher name.
 
Optional Element Summary
 java.lang.String dataKey
          Sets the data key in which the data is put.
 boolean synchronous
          Enables/Disables synchronous sending.
 java.lang.String topics
          Sets topics on which event are sent.
 

Element Detail

name

public abstract java.lang.String name
Sets the publisher name.

topics

public abstract java.lang.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 java.lang.String dataKey
Sets the data key in which the data is put. Default : user.data

Default:
"user.data"


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.