org.apache.aries.blueprint.container
Class ReferenceListRecipe.ServiceDispatcher

java.lang.Object
  extended by 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
           
 
Constructor Summary
ReferenceListRecipe.ServiceDispatcher(org.osgi.framework.ServiceReference reference)
           
 
Method Summary
 java.lang.Object call()
           
 void destroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reference

public org.osgi.framework.ServiceReference reference

service

public java.lang.Object service

proxy

public java.lang.Object proxy
Constructor Detail

ReferenceListRecipe.ServiceDispatcher

public ReferenceListRecipe.ServiceDispatcher(org.osgi.framework.ServiceReference reference)
                                      throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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.