public static final class ServiceInstance.Literal extends javax.enterprise.util.AnnotationLiteral<ServiceInstance> implements ServiceInstance
ServiceInstance annotation.javax.enterprise.util.AnnotationLiteral.PrivilegedActionForAccessibleObjectServiceInstance.Literal| Modifier and Type | Method and Description |
|---|---|
static ServiceInstance.Literal |
of(ServiceScope type) |
ServiceScope |
value() |
annotationType, equals, hashCode, toStringpublic static ServiceInstance.Literal of(ServiceScope type)
type - the type of the ServiceInstanceServiceInstancepublic ServiceScope value()
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0