|
OSGi™ Enterprise Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.osgi.resource.Namespace org.osgi.service.serviceloader.ServiceLoaderNamespace
public final class ServiceLoaderNamespace
Service Loader Capability and Requirement Namespace.
This class defines the names for the attributes and directives for this namespace.
All unspecified capability attributes are of one of the following types:
String
Version
Long
Double
List<String>
List<Version>
List<Long>
List<Double>
String
, unless otherwise indicated.
All unspecified capability attributes, unless the attribute name starts with
dot ('.'
\u002E), are also used as service properties when
registering a Service Provider as a service.
Field Summary | |
---|---|
static java.lang.String |
CAPABILITY_REGISTER_DIRECTIVE
The capability directive used to specify the implementation classes of the service. |
static java.lang.String |
SERVICELOADER_NAMESPACE
Namespace name for service loader capabilities and requirements. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICELOADER_NAMESPACE
Also, the capability attribute used to specify the fully qualified name of the service type.
public static final java.lang.String CAPABILITY_REGISTER_DIRECTIVE
List<String>
.
If this directive is not specified, then all advertised Service Providers that match the service type name must be registered. If this directive is specified, then only Service Providers that match the service type name whose implementation class is contained in the value of this attribute must be registered. To not register a service for this capability use an empty string.
|
OSGi™ Enterprise Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |