Annotation Type Local


  • @Target({PARAMETER,FIELD,METHOD})
    @Retention(RUNTIME)
    @Documented
    @UseWith(SERVICE)
    public @interface Local
    A special marker annotation which limits the search for possible services to just the same module containing the service being injected. Other marker annotations may also be applied. It is allowed on methods to support the @Contribute annotation (used as a preferred alternative to the older naming convention for identifying contribute methods and targetted services).