org.jvnet.hk2.component.classmodel
Class FileCachingClassPathAdvisor

java.lang.Object
  extended by org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
All Implemented Interfaces:
FileFilter, ClassPathAdvisor

Deprecated.

@Deprecated
public class FileCachingClassPathAdvisor
extends Object
implements ClassPathAdvisor

Uses a properties file to map all known URIs to last modified date,size, and whether it contains significant class-model artifacts that contributes to habitat production.

Author:
Jeff Trent

Field Summary
static String HK2_CLASS_PATH_ADVISOR_CACHE_FILE
          Deprecated.  
static String TAG_SYS_PROP
          Deprecated.  
 
Constructor Summary
FileCachingClassPathAdvisor()
          Deprecated.  
FileCachingClassPathAdvisor(String cacheFileName)
          Deprecated.  
 
Method Summary
 boolean accept(File file)
          Deprecated.  
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_SYS_PROP

public static final String TAG_SYS_PROP
Deprecated. 
See Also:
Constant Field Values

HK2_CLASS_PATH_ADVISOR_CACHE_FILE

public static final String HK2_CLASS_PATH_ADVISOR_CACHE_FILE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

FileCachingClassPathAdvisor

public FileCachingClassPathAdvisor()
Deprecated. 

FileCachingClassPathAdvisor

public FileCachingClassPathAdvisor(String cacheFileName)
Deprecated. 
Method Detail

starting

public void starting(ClassPath inhabitantsClassPath)
Deprecated. 
Description copied from interface: ClassPathAdvisor
Called at the start of class-model habitat creation

Specified by:
starting in interface ClassPathAdvisor
Parameters:
inhabitantsClassPath - the full classpath for locating class artifacts

finishing

public void finishing(Set<URI> significant,
                      Set<URI> insignificant)
Deprecated. 
Description copied from interface: ClassPathAdvisor
Called at the completion of class-model habitat creation

Specified by:
finishing in interface ClassPathAdvisor
Parameters:
significant - the set of code sources that were significant in that they contributed to logical habitat creation
insignificant - the set of code sources that were not significant in creation of the logical habitat

accept

public boolean accept(File file)
Deprecated. 
Specified by:
accept in interface FileFilter


Copyright © 2013 Oracle Corporation. All Rights Reserved.