Annotation Interface DiameterContext


@Target({PARAMETER,METHOD,FIELD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface DiameterContext
Sets the context of the diameter object injection. Currently this annotation may be applied when a bean injects an Application. To inject an RoApplication a bean may use the following code:

   @Inject @DiameterContext(applicationId = 4)
   private Application roApplication;
 

Author:
Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • applicationId

      int applicationId
      Default:
      0