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

java.lang.Object
  extended by org.apache.aries.blueprint.container.ReferenceListRecipe.ServiceDispatcher
All Implemented Interfaces:
Callable<Object>
Enclosing class:
ReferenceListRecipe

public class ReferenceListRecipe.ServiceDispatcher
extends Object
implements Callable<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
 Object proxy
           
 org.osgi.framework.ServiceReference reference
           
 Object service
           
 
Constructor Summary
ReferenceListRecipe.ServiceDispatcher(org.osgi.framework.ServiceReference reference)
           
 
Method Summary
 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 Object service

proxy

public Object proxy
Constructor Detail

ReferenceListRecipe.ServiceDispatcher

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

destroy

public void destroy()

call

public Object call()
            throws Exception
Specified by:
call in interface Callable<Object>
Throws:
Exception


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