com.sun.hk2.component
Interface Holder<T>

All Superinterfaces:
Factory<T>
All Known Subinterfaces:
Creator<T>, Inhabitant<T>
All Known Implementing Classes:
AbstractCreatorImpl, AbstractCreatorInhabitantImpl, AbstractInhabitantImpl, ConfigBean, ConstructorCreator, CreatorImpl, Dom, EventPublishingInhabitant, ExistingSingletonInhabitant, Holder.Impl, InhabitantImpl, LazyInhabitant, ScopedInhabitant

Deprecated.

@Deprecated
public interface Holder<T>
extends Factory<T>

Indirection to a value. That is, instead of referring to the value itself, this class allows you to obtain the value when you need it.

This is the basis for all the lazy computation.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class Holder.Impl<T>
          Deprecated. Holder implementation that doesn't do any deferred computation, where the value is given in the constructor.
 
Method Summary
 
Methods inherited from interface org.glassfish.hk2.Factory
get
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.