Package io.joynr.jeeintegration.api
Annotation Type JoynrProperties
-
@Documented @Retention(RUNTIME) @Target({METHOD,PARAMETER,FIELD}) @Qualifier public @interface JoynrProperties
Qualifier annotation for aproducermethod, which returnsPropertiesto use in creating the joynr runtime in theJoynrRuntimeFactory.In order to specify your own joynr properties, create a
@SingletonEJB which has a method annotated withProducesandJoynrPropertiesand returns aPropertiesinstance. These properties are then added to the default joynr properties and also override these properties as necessary.Note that if the EJB which contains the producer methods implements an interface, then the producer methods also need to be declared in that interface, otherwise CDI won't recognise the method implementations as producers.