|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentReloadingStrategy
Implementations declares whether a component should reload when accessed.
Method Summary | |
---|---|
boolean |
shouldReload(String role,
PlexusContainer container)
Returns true if the given role in the container should be reloaded. |
boolean |
shouldReload(String role,
String roleHint,
PlexusContainer container)
Returns true if the given role/role-hint in the container should be reloaded. |
Method Detail |
---|
boolean shouldReload(String role, PlexusContainer container) throws ComponentReloadingException
role
- key of the componentcontainer
- the container the role lives in
ComponentReloadingException
boolean shouldReload(String role, String roleHint, PlexusContainer container) throws ComponentReloadingException
role
- key of the componentroleHint
- sub-key of the componentcontainer
- the container the role lives in
ComponentReloadingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |