Package org.aspectj.apache.bcel.util
Schnittstelle Repository
- Alle bekannten Implementierungsklassen:
BcelWorld
,ClassLoaderRepository
,LTWWorld
,NonCachingClassLoaderRepository
,SyntheticRepository
,ThreadLocalAwareRepository
public interface Repository
Abstract definition of a class repository. Instances may be used to load classes from different sources and may be used in the
Repository.setRepository method.
- Version:
- $Id: Repository.java,v 1.5 2009/09/09 19:56:20 aclement Exp $
- Autor:
- M. Dahm, David Dixon-Peugh
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
clear()
Clear all entries from cache.Find the class with the name provided, if the class isn't there, return NULL.Find the JavaClass instance for the given run-time class objectFind the class with the name provided, if the class isn't there, make an attempt to load it.void
removeClass
(JavaClass clazz) Remove class from repositoryvoid
storeClass
(JavaClass clazz) Store the provided class under "clazz.getClassName()"
-
Methodendetails
-
storeClass
Store the provided class under "clazz.getClassName()" -
removeClass
Remove class from repository -
findClass
Find the class with the name provided, if the class isn't there, return NULL. -
loadClass
Find the class with the name provided, if the class isn't there, make an attempt to load it.- Löst aus:
ClassNotFoundException
-
loadClass
Find the JavaClass instance for the given run-time class object- Löst aus:
ClassNotFoundException
-
clear
void clear()Clear all entries from cache.
-