org.apache.aries.blueprint.container
Class ReferenceListRecipe.ServiceDispatcher
java.lang.Object
org.apache.aries.blueprint.container.ReferenceListRecipe.ServiceDispatcher
- All Implemented Interfaces:
- java.util.concurrent.Callable<java.lang.Object>
- Enclosing class:
- ReferenceListRecipe
public class ReferenceListRecipe.ServiceDispatcher
- extends java.lang.Object
- implements java.util.concurrent.Callable<java.lang.Object>
The ServiceDispatcher is used when creating the cglib proxy.
Thic class is responsible for getting the actual service that will be used.
Field Summary |
java.lang.Object |
proxy
|
org.osgi.framework.ServiceReference |
reference
|
java.lang.Object |
service
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reference
public org.osgi.framework.ServiceReference reference
service
public java.lang.Object service
proxy
public java.lang.Object proxy
ReferenceListRecipe.ServiceDispatcher
public ReferenceListRecipe.ServiceDispatcher(org.osgi.framework.ServiceReference reference)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
call
public java.lang.Object call()
throws java.lang.Exception
- Specified by:
call
in interface java.util.concurrent.Callable<java.lang.Object>
- Throws:
java.lang.Exception
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.