org.codehaus.plexus.component.reloading
public interface ComponentReloadingStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
shouldReload(java.lang.String role,
PlexusContainer container)
Returns true if the given role in the container should be reloaded.
|
boolean |
shouldReload(java.lang.String role,
java.lang.String roleHint,
PlexusContainer container)
Returns true if the given role/role-hint in the container should be
reloaded.
|
boolean shouldReload(java.lang.String role, PlexusContainer container) throws ComponentReloadingException
role
- key of the componentcontainer
- the container the role lives inComponentReloadingException
boolean shouldReload(java.lang.String role, java.lang.String roleHint, PlexusContainer container) throws ComponentReloadingException
role
- key of the componentroleHint
- sub-key of the componentcontainer
- the container the role lives inComponentReloadingException
Copyright © 2014. All Rights Reserved.