|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.tagtraum.sixbs.AdapterFinder
Searches for Adapater classes. First the same package as the class's is checked. Then the package searchpath is searched.
Adapter| Field Summary | |
static String |
vcid
Source-Version |
| Constructor Summary | |
AdapterFinder()
Instantiates AdapterFinder with DefaultPackages (e.g. com.tagtraum.sixbs.adapters.util). |
|
| Method Summary | |
protected void |
addDefaultPackages()
Is called by the constructor and adds com.tagtraum.sixbs.adapters.util. |
void |
addPackage(Package pakkage)
Adds a package to the searchpath. |
void |
addPackage(String pakkage)
Adds a package to the searchpath. |
Class |
find(Class klass)
Returns an Adapter class for the given class or null if none is found. |
Class |
find(Object object)
Returns an Adapter class for the given object or null if none is found. |
static AdapterFinder |
getDefaultAdapterFinder()
Returns default AdapterFinder. |
Enumeration |
packages()
Enumeration of all package in the searchpath. |
void |
removePackage(Package pakkage)
Removes a package from the searchpath. |
void |
removePackage(String pakkage)
Removes a package from the searchpath. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String vcid
| Constructor Detail |
public AdapterFinder()
| Method Detail |
protected void addDefaultPackages()
com.tagtraum.sixbs.adapters.util.
public void addPackage(Package pakkage)
Package.getPackage(String),
addPackage(String)public void removePackage(Package pakkage)
Package.getPackage(String),
removePackage(String)public void addPackage(String pakkage)
public void removePackage(String pakkage)
public Enumeration packages()
public static AdapterFinder getDefaultAdapterFinder()
public Class find(Object object)
public Class find(Class klass)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||