Class Overview
PlexusBeanManager that manages Plexus components requiring lifecycle management.
Summary
| Public Methods |
|
boolean
|
manage(Object bean)
Asks this manager to manage the given Plexus bean instance.
|
|
PropertyBinding
|
manage(BeanProperty property)
|
|
boolean
|
manage(Class<?> clazz)
Decides whether instances of the given Plexus bean type should be reported to this manager.
|
|
PlexusBeanManager
|
manageChild()
|
|
<T>
void
|
onProvision(ProvisionInvocation<T> pi)
|
|
boolean
|
unmanage(Object bean)
Asks this manager to unmanage the given Plexus bean instance.
|
|
boolean
|
unmanage()
Asks this manager to unmanage all the Plexus bean instances it knows about.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.inject.spi.ProvisionListener
|
abstract
<T>
void
|
onProvision(ProvisionInvocation<T> arg0)
|
|
From interface
org.eclipse.sisu.plexus.PlexusBeanManager
|
abstract
boolean
|
manage(Object bean)
Asks this manager to manage the given Plexus bean instance.
|
|
abstract
PropertyBinding
|
manage(BeanProperty<?> property)
Asks this manager to manage the given bean property.
|
|
abstract
boolean
|
manage(Class<?> clazz)
Decides whether instances of the given Plexus bean type should be reported to this manager.
|
|
abstract
boolean
|
unmanage(Object bean)
Asks this manager to unmanage the given Plexus bean instance.
|
|
abstract
boolean
|
unmanage()
Asks this manager to unmanage all the Plexus bean instances it knows about.
|
|
Public Constructors
public
PlexusLifecycleManager
(Provider<Context> plexusContextProvider, Provider<LoggerManager> plexusLoggerManagerProvider, Provider<?> slf4jLoggerFactoryProvider)
Public Methods
public
boolean
manage
(Object bean)
Asks this manager to manage the given Plexus bean instance.
Parameters
| bean
| The Plexus bean instance |
Returns
true if the bean instance was managed; otherwise false
public
PropertyBinding
manage
(BeanProperty property)
public
boolean
manage
(Class<?> clazz)
Decides whether instances of the given Plexus bean type should be reported to this manager.
Parameters
| clazz
| The Plexus bean type |
Returns
true if instances of the bean should be reported; otherwise false
public
void
onProvision
(ProvisionInvocation<T> pi)
public
boolean
unmanage
(Object bean)
Asks this manager to unmanage the given Plexus bean instance.
Parameters
| bean
| The Plexus bean instance |
Returns
true if the bean instance was unmanaged; otherwise false
public
boolean
unmanage
()
Asks this manager to unmanage all the Plexus bean instances it knows about.
Returns
true if any bean instances were unmanaged; otherwise false