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