org.springframework.osgi.service.importer
Interface ImportedOsgiServiceProxy


public interface ImportedOsgiServiceProxy

Infrastructure interface available on Spring-DM managed OSGi services. Gives read-only access to the proxy backing object service reference.

Author:
Costin Leau
See Also:
ServiceReferenceProxy

Method Summary
 ServiceReferenceProxy getServiceReference()
          Provides access to the service reference used for accessing the backing object.
 

Method Detail

getServiceReference

ServiceReferenceProxy getServiceReference()
Provides access to the service reference used for accessing the backing object. The returned object is a proxy over the native ServiceReference obtained from the OSGi platform, so that proper service tracking is obtained. This means that if the imported service change, the updates are reflected to the returned service reference automatically.

Returns:
backing object service reference


Copyright © 2006-2009 Spring Framework. All Rights Reserved.