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.eclipse.gemini.blueprint.service.importer.support.internal.aop
Interface ServiceProxyCreator

    public interface ServiceProxyCreator

Simple interface passed around to decouple proxy creation (which is highly contextual and configuration dependent) from the overall OSGi infrastructure which is concerned with synchronization and events.

Author:
  Costin Leau

Method Summary
`ProxyPlusCallback` | `createServiceProxy(org.osgi.framework.ServiceReference reference)` Create a service proxy for the given service reference.

Method Detail

### createServiceProxy

    ProxyPlusCallback createServiceProxy(org.osgi.framework.ServiceReference reference)

  Create a service proxy for the given service reference. The proxy purpose is to transparently decouple the client from holding a strong reference to the service (which might go away) and provide various decorations.

  The method returns a container object with the proxy and a destruction callback for it (normally an invocation interceptor). The same functionality can be achieved by casting the proxy to Advised but for security reasons (users could disable the proxies themselves) the proxies are now created in an opaque manner.

  Parameters:
    `reference` - service reference
  Returns:
    the proxy plus a destruction callback to it

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-2012. All Rights Reserved.