Interface ReferenceMetadata
- All Superinterfaces:
ComponentMetadata
,Metadata
,NonNullMetadata
,ServiceReferenceMetadata
,Target
Metadata for a reference that will bind to a single matching service in the
service registry.
This is specified by the reference
element.
- Author:
- $Id: c10843ee7b5fe6672185437f47ff222717f6997b $
-
Field Summary
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
Fields inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
AVAILABILITY_MANDATORY, AVAILABILITY_OPTIONAL
-
Method Summary
Modifier and TypeMethodDescriptionlong
Return the timeout for service invocations when a backing service is unavailable.Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
getActivation, getDependsOn, getId
Methods inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
getAvailability, getComponentName, getFilter, getInterface, getReferenceListeners
-
Method Details
-
getTimeout
long getTimeout()Return the timeout for service invocations when a backing service is unavailable. This is specified by thetimeout
attribute of the reference.- Returns:
- The timeout, in milliseconds, for service invocations when a backing service is unavailable.
-