|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TheLittleContainer dependency manager interface.
Method Summary | |
boolean |
canConstructClass(java.lang.Class c)
Returns true if the class can be constructed fulfilling any one of its constructors (notably, the default or empty constructor). |
boolean |
canConstructClass(java.lang.Class c,
java.lang.reflect.Constructor constructor)
Returns true if the class can be constructed fulfilling the given constructor. |
boolean |
hasClass(java.lang.Class c)
Returns true if the registry contains the given class. |
java.lang.Class[] |
listAllImplementingClasses(java.lang.Class c)
Returns a list (Class[]) of all classes registered that fufill the given class (either extends the superclass or implements the interface) |
void |
registerClass(java.lang.Class c)
Registers a class with the DependencyManager |
Method Detail |
public void registerClass(java.lang.Class c)
c
- Classpublic boolean hasClass(java.lang.Class c)
c
- Class
public java.lang.Class[] listAllImplementingClasses(java.lang.Class c)
c
- Class
public boolean canConstructClass(java.lang.Class c, java.lang.reflect.Constructor constructor)
c
- Classconstructor
- Constructor
public boolean canConstructClass(java.lang.Class c)
c
- Class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |