Annotation Type JoynrProperties


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,PARAMETER,FIELD})
    @Qualifier
    public @interface JoynrProperties
    Qualifier annotation for a producer method, which returns Properties to use in creating the joynr runtime in the JoynrRuntimeFactory.

    In order to specify your own joynr properties, create a @Singleton EJB which has a method annotated with Produces and JoynrProperties and returns a Properties instance. 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.