|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedComponentProvider<T>
A ManagedComponentProvider is one in which its backing
component that it provides can either be in an active or inactive
state.
ManagedComponentProvider might allow for release()
but it is not "lazy" meaning that it is active in its natural state.
ManagedComponentProviders are usually lazy, Singleton scoped
services (but not always). Lazy, Singleton services exhibit the
following characteristics:
Provider.get(),
| Method Summary | |
|---|---|
boolean |
isActive()
|
void |
release()
Release the component/service if active. |
| Methods inherited from interface org.glassfish.hk2.Provider |
|---|
get, getAnnotations, getDescriptor, type |
| Method Detail |
|---|
boolean isActive()
void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||