|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ClassPathAdvisor
Assists in the creation of the habitat via class-model introspection. Implementations of this contract can fulfill two separate but related actions.
1. It can prune the classpath used to construct the habitat based on some filter criteria.
2. It can be provided feedback by the introspection machinery regarding the URIs in the classpath that were significant during creation of the habitat that can be used by the implementation to fine-tune future runs.
Both activities above are important for building a caching scheme for example, to make class-model introspection more performant over repeated runs.
Method Summary | |
---|---|
void |
finishing(Set<URI> significant,
Set<URI> insignificant)
Deprecated. Called at the completion of class-model habitat creation |
void |
starting(ClassPath inhabitantsClassPath)
Deprecated. Called at the start of class-model habitat creation |
Methods inherited from interface java.io.FileFilter |
---|
accept |
Method Detail |
---|
void starting(ClassPath inhabitantsClassPath)
inhabitantsClassPath
- the full classpath for locating class artifactsvoid finishing(Set<URI> significant, Set<URI> insignificant)
significant
- the set of code sources that were significant in that they contributed to logical habitat creationinsignificant
- the set of code sources that were not significant in creation of the logical habitat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |