Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.osgi.service.blueprint.reflect
Interface ReferenceMetadata

All Superinterfaces:
  ComponentMetadata, Metadata, NonNullMetadata, ServiceReferenceMetadata, Target

    public interface ReferenceMetadata

extends Target, ServiceReferenceMetadata

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 org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
`AVAILABILITY_MANDATORY, AVAILABILITY_OPTIONAL`

Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
`ACTIVATION_EAGER, ACTIVATION_LAZY`

Method Summary
`long` | `getTimeout()` Return the timeout for service invocations when a backing service is is unavailable.

Methods inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
`getAvailability, getComponentName, getFilter, getInterface, getReferenceListeners`

Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
`getActivation, getDependsOn, getId`

Method Detail

### getTimeout

    long getTimeout()

  Return the timeout for service invocations when a backing service is is unavailable. This is specified by the `timeout` attribute of the reference.

  Returns:
    The timeout, in milliseconds, for service invocations when a backing service is is unavailable.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2011. All Rights Reserved.