Class Service.Literal

  • All Implemented Interfaces:
    java.lang.annotation.Annotation
    Enclosing class:
    Service

    public static final class Service.Literal
    extends javax.enterprise.util.AnnotationLiteral<Service>
    implements Service
    Support inline instantiation of the Service annotation.
    See Also:
    Serialized Form
    • Nested Class Summary

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Service.Literal of​(java.lang.Class<?>[] interfaces)  
      java.lang.Class<?>[] value()  
      • Methods inherited from class javax.enterprise.util.AnnotationLiteral

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
    • Method Detail

      • of

        public static final Service.Literal of​(java.lang.Class<?>[] interfaces)
        Parameters:
        interfaces -
        Returns:
        instance of Service
      • value

        public java.lang.Class<?>[] value()