org.apache.aries.blueprint.reflect
Class ReferenceMetadataImpl

java.lang.Object
  extended by org.apache.aries.blueprint.reflect.ComponentMetadataImpl
      extended by org.apache.aries.blueprint.reflect.ServiceReferenceMetadataImpl
          extended by org.apache.aries.blueprint.reflect.ReferenceMetadataImpl
All Implemented Interfaces:
ExtendedServiceReferenceMetadata, MutableComponentMetadata, MutableReferenceMetadata, MutableServiceReferenceMetadata, ComponentMetadata, Metadata, NonNullMetadata, ReferenceMetadata, ServiceReferenceMetadata, Target

public class ReferenceMetadataImpl
extends ServiceReferenceMetadataImpl
implements MutableReferenceMetadata

Implementation of ReferenceMetadata

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Field Summary
 
Fields inherited from class org.apache.aries.blueprint.reflect.ServiceReferenceMetadataImpl
availability, componentName, filter, interfaceName, proxyMethod, referenceListeners, runtimeInterface
 
Fields inherited from class org.apache.aries.blueprint.reflect.ComponentMetadataImpl
activation, dependsOn, id
 
Fields inherited from interface org.apache.aries.blueprint.ExtendedServiceReferenceMetadata
PROXY_METHOD_CLASSES, PROXY_METHOD_DEFAULT
 
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
 
Constructor Summary
ReferenceMetadataImpl()
           
ReferenceMetadataImpl(ReferenceMetadata source)
           
 
Method Summary
 long getTimeout()
          Return the timeout for service invocations when a backing service is is unavailable.
 void setTimeout(long timeout)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.aries.blueprint.reflect.ServiceReferenceMetadataImpl
addServiceListener, addServiceListener, getAvailability, getComponentName, getFilter, getInterface, getProxyMethod, getReferenceListeners, getRuntimeInterface, removeReferenceListener, setAvailability, setComponentName, setFilter, setInterface, setProxyMethod, setReferenceListeners, setRuntimeInterface
 
Methods inherited from class org.apache.aries.blueprint.reflect.ComponentMetadataImpl
addDependsOn, getActivation, getDependsOn, getId, removeDependsOn, setActivation, setDependsOn, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.aries.blueprint.mutable.MutableServiceReferenceMetadata
addServiceListener, addServiceListener, removeReferenceListener, setAvailability, setComponentName, setFilter, setInterface, setProxyMethod, setRuntimeInterface
 
Methods inherited from interface org.apache.aries.blueprint.ExtendedServiceReferenceMetadata
getProxyMethod, getRuntimeInterface
 
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
 
Methods inherited from interface org.apache.aries.blueprint.mutable.MutableComponentMetadata
addDependsOn, removeDependsOn, setActivation, setDependsOn, setId
 

Constructor Detail

ReferenceMetadataImpl

public ReferenceMetadataImpl()

ReferenceMetadataImpl

public ReferenceMetadataImpl(ReferenceMetadata source)
Method Detail

getTimeout

public long getTimeout()
Description copied from interface: ReferenceMetadata
Return the timeout for service invocations when a backing service is is unavailable. This is specified by the timeout attribute of the reference.

Specified by:
getTimeout in interface ReferenceMetadata
Returns:
The timeout, in milliseconds, for service invocations when a backing service is is unavailable.

setTimeout

public void setTimeout(long timeout)
Specified by:
setTimeout in interface MutableReferenceMetadata

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.