|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.reflect.impl.java.JavaClassInfoRepository
public class JavaClassInfoRepository
A repository for the class info hierarchy. Is class loader aware.
TODO refactor some with ASMClassInfoRepository but keep em separate for system runtime sake in AOPC (WLS)
Method Summary | |
---|---|
void |
addClassInfo(ClassInfo classInfo)
Adds a new class info. |
ClassInfo |
checkParentClassRepository(String className,
ClassLoader loader)
Searches for a class info up in the class loader hierarchy. |
ClassInfo |
getClassInfo(String className)
Returns the class info. |
static JavaClassInfoRepository |
getRepository(ClassLoader loader)
Returns the class info repository for the specific class loader |
boolean |
hasClassInfo(String name)
Checks if the class info for a specific class exists. |
static void |
removeClassInfoFromAllClassLoaders(String className)
Remove a class from the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JavaClassInfoRepository getRepository(ClassLoader loader)
loader
-
public static void removeClassInfoFromAllClassLoaders(String className)
className
- the name of the classpublic ClassInfo getClassInfo(String className)
className
-
public void addClassInfo(ClassInfo classInfo)
classInfo
- public boolean hasClassInfo(String name)
name
-
public ClassInfo checkParentClassRepository(String className, ClassLoader loader)
className
- loader
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |