|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.collectionAdapters.SupportedCollections
This class is nothing more than a place holder to initialize predefined supported collections. The registered collections are the default collection adpaters for the registered class type. This can be overridden by explicitly setting the collection adapter on the SQLQuery object.
Constructor Summary | |
SupportedCollections()
The default behavior is to initialize the collections with defaults. |
|
SupportedCollections(boolean useDefaults)
The default behavior is to initialize the collections with defaults. |
|
SupportedCollections(boolean useDefaults,
java.util.Properties props)
If using the defaults, first set up those collection adapters; If props is not null, then add those to the list of CollectionAdapters. |
|
SupportedCollections(java.util.Properties props)
The default behavior is to initialize the collections with defaults. |
Method Summary | |
void |
addCollection(java.lang.String collectionClassName,
java.lang.String adapterClassName)
|
void |
initialize(java.util.Properties props)
Register the collection classes in the properties parameter. |
void |
initializeDefaults()
JavaGrinder predefined support collections. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SupportedCollections()
public SupportedCollections(java.util.Properties props)
public SupportedCollections(boolean useDefaults)
public SupportedCollections(boolean useDefaults, java.util.Properties props)
Method Detail |
public void addCollection(java.lang.String collectionClassName, java.lang.String adapterClassName) throws java.lang.ClassNotFoundException
collectionClassName
- java.lang.StringadapterClassName
- java.lang.String The class must implement the CollectionAdapter interface in Persist.
java.lang.ClassNotFoundException
CollectionAdapter
public void initialize(java.util.Properties props)
CollectionAdapter
public void initializeDefaults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |