Annotation Interface NamingContext


@Retention(RUNTIME) @Target(TYPE) public @interface NamingContext

Annotates a class to define a naming context. The naming context takes the form of a list of Property annotations. This annotation is used when objects implements the ManagementAware interface. Any object registered through the injected ManagementContext will have in its name the properties defined by the naming context.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details