Class Reference.Any

  • Enclosing class:
    Reference

    public static final class Reference.Any
    extends java.lang.Object
    A marker type used in Reference.value() to indicate that a reference injection point may accept any service type(s).

    The injection point service type must be specified as Object.

    The value must be specified by itself.

    For example:

     @Inject
     @Reference(value = Any.class, target = "(bar=baz)")
     List<Object> services;
     
    • Constructor Summary

      Constructors 
      Constructor Description
      Any()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Any

        public Any()