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.
- Version:
- $Revision: 7563 $
-
Field Summary
Fields inherited from interface ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZYFields inherited from interface ServiceReferenceMetadata
AVAILABILITY_MANDATORY, AVAILABILITY_OPTIONAL -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the timeout for service invocations when a backing service is is unavailable.Methods inherited from interface ComponentMetadata
getActivation, getDependsOn, getIdMethods inherited from interface ServiceReferenceMetadata
getAvailability, getComponentName, getFilter, getInterface, getReferenceListeners
-
Method Details
-
getTimeout
long getTimeout()Return the timeout for service invocations when a backing service is is unavailable. This is specified by thetimeoutattribute of the reference.- Returns:
- The timeout, in milliseconds, for service invocations when a backing service is is unavailable.
-