| org.picocontainer.adapters.InstanceAdapter
InstanceAdapter | final public class InstanceAdapter extends AbstractAdapter implements Behavior<T>,LifecycleStrategy(Code) | |
Component adapter which wraps a component instance.
This component adapter supports both a
Behavior Behavior and a
org.picocontainer.LifecycleStrategy LifecycleStrategy to control the lifecycle of the component.
The lifecycle manager methods simply delegate to the lifecycle strategy methods
on the component instance.
author: Aslak Hellesøy author: Paul Hammant author: Mauro Talevi |
InstanceAdapter | public InstanceAdapter(Object componentKey, T componentInstance)(Code) | | |
componentHasLifecycle | public boolean componentHasLifecycle()(Code) | | |
hasLifecycle | public boolean hasLifecycle(Class type)(Code) | | |
|
|