org.apache.felix.ipojo.handlers.dependency
Class ServiceUsage

java.lang.Object
  extended by java.lang.ThreadLocal
      extended by org.apache.felix.ipojo.handlers.dependency.ServiceUsage

public class ServiceUsage
extends java.lang.ThreadLocal

Object managing thread local copy of required services.

Author:
Felix Project Team

Nested Class Summary
 class ServiceUsage.Usage
          Structure contained in the Thread Local.
 
Constructor Summary
ServiceUsage()
           
 
Method Summary
 java.lang.Object initialValue()
          Initialize the cached object.
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUsage

public ServiceUsage()
Method Detail

initialValue

public java.lang.Object initialValue()
Initialize the cached object.

Overrides:
initialValue in class java.lang.ThreadLocal
Returns:
an empty Usage object.
See Also:
ThreadLocal.initialValue()