| Modifier and Type | Field and Description |
|---|---|
| private final LinkedList | |
| private final ServiceLocatorImpl | |
| private final ReentrantLock | |
| private final ActiveDescriptor | |
| private T | |
| private Object | |
| private boolean | |
| private boolean | |
| private final LinkedList |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addSubHandle(ServiceHandleImpl<?>
A handle to add for proper destruction subHandle)Add a sub handle to this for proper destruction |
| public void | close()
Overrides default org. Will destroy this object and all PerLookup instances created because of this service |
| public ActiveDescriptor | getActiveDescriptor()
Implements org. Returns the ActiveDescriptor associated with this service handle |
| private Injectee | |
| public Injectee | |
| public T | getService()
Implements org. Gets the underlying service object |
| pack-priv T | |
| public Object | getServiceData()
Implements org. Service data can be set on a service handle. |
| public List | getSubHandles()
Implements org. Returns a list of subordinate subhandles to this root handle |
| public boolean | isActive()
Implements org. This returns true if the underlying service has already been created |
| public void | |
| public void | |
| public void | setServiceData(Object serviceData)
Implements org. Service data can be set on a service handle. |
| public String |
| injectees | back to summary |
|---|---|
| private final LinkedList<Injectee> injectees | |
| locator | back to summary |
|---|---|
| private final ServiceLocatorImpl locator | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| root | back to summary |
|---|---|
| private final ActiveDescriptor<T> root | |
| service | back to summary |
|---|---|
| private T service | |
| serviceData | back to summary |
|---|---|
| private Object serviceData | |
| serviceDestroyed | back to summary |
|---|---|
| private boolean serviceDestroyed | |
| serviceSet | back to summary |
|---|---|
| private boolean serviceSet | |
| subHandles | back to summary |
|---|---|
| private final LinkedList<ServiceHandleImpl<?>> subHandles | |
| ServiceHandleImpl | back to summary |
|---|---|
| pack-priv ServiceHandleImpl(ServiceLocatorImpl locator, ActiveDescriptor<T> root, Injectee injectee) | |
| addSubHandle | back to summary |
|---|---|
| public void addSubHandle(ServiceHandleImpl<?> subHandle) Add a sub handle to this for proper destruction
| |
| close | back to summary |
|---|---|
| public void close() Overrides default org. Doc from org. Will destroy this object and all PerLookup instances created because of this service
| |
| getActiveDescriptor | back to summary |
|---|---|
| public ActiveDescriptor Implements org. Doc from org. Returns the ActiveDescriptor associated with this service handle
| |
| getLastInjectee | back to summary |
|---|---|
| private Injectee getLastInjectee() | |
| getOriginalRequest | back to summary |
|---|---|
| public Injectee getOriginalRequest() | |
| getService | back to summary |
|---|---|
| public T getService() Implements org. Doc from org. Gets the underlying service object
| |
| getService | back to summary |
|---|---|
| pack-priv T getService(ServiceHandle<T> handle) | |
| getServiceData | back to summary |
|---|---|
| public Object getServiceData() Implements org. Doc from org. Service data can be set on a service handle. If the service data is set prior to the services associated Context has created an instance then this service data can be used to influence the context's creation of the service. The service data is associated with a handle, not with the service itself
| |
| getSubHandles | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns a list of subordinate subhandles to this root handle
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements org. Doc from org. This returns true if the underlying service has already been created
| |
| popInjectee | back to summary |
|---|---|
| public void popInjectee() | |
| pushInjectee | back to summary |
|---|---|
| public void pushInjectee(Injectee push) | |
| setServiceData | back to summary |
|---|---|
| public void setServiceData(Object serviceData) Implements org. Doc from org. Service data can be set on a service handle. If the service data is set prior to the services associated Context has created an instance then this service data can be used to influence the context's creation of the service. The service data is associated with a handle, not with the service itself
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |