Interface ComponentReloadingStrategy
-
public interface ComponentReloadingStrategyImplementations declares whether a component should reload when accessed.- Version:
- $Revision$
- Author:
- Jason van Zyl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldReload(java.lang.String role, java.lang.String roleHint, PlexusContainer container)Returns true if the given role/role-hint in the container should be reloaded.booleanshouldReload(java.lang.String role, PlexusContainer container)Returns true if the given role in the container should be reloaded.
-
-
-
Method Detail
-
shouldReload
boolean shouldReload(java.lang.String role, PlexusContainer container) throws ComponentReloadingExceptionReturns true if the given role in the container should be reloaded.- Parameters:
role- key of the componentcontainer- the container the role lives in- Returns:
- true if the given role in the container should be reloaded
- Throws:
ComponentReloadingException
-
shouldReload
boolean shouldReload(java.lang.String role, java.lang.String roleHint, PlexusContainer container) throws ComponentReloadingExceptionReturns true if the given role/role-hint in the container should be reloaded.- Parameters:
role- key of the componentroleHint- sub-key of the componentcontainer- the container the role lives in- Returns:
- true if the given role/role-hint in the container should be reloaded
- Throws:
ComponentReloadingException
-
-