|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.util.PersistenceHelperPluginFactory
Factory for PersistenceHelperPlugin instances. Implements a "Singleton" design pattern for PersistenceHelperPlugins, where a single instance of a plugin exists for each plugin class.
Constructor Summary | |
PersistenceHelperPluginFactory()
|
Method Summary | |
static PersistenceHelperPlugin |
createPlugin(java.lang.String pluginClassName)
Returns a singleton instance of a PersistenceHelperPlugin denoted by the supplied class name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersistenceHelperPluginFactory()
Method Detail |
public static PersistenceHelperPlugin createPlugin(java.lang.String pluginClassName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
pluginClassName
- The name of the PersistenceHelperPlugin
implementation class.java.lang.ClassCastException
- if the class denoted by the pluginClassName
is
not an instance of a PersistenceHelperPlugin
.java.lang.ClassNotFoundException
- if the class denoted by the pluginClassName
could not be found.java.lang.InstantiationException
- if the instantiation of an instance of the class denoted
by the pluginClassName
fails for some reason.java.lang.IllegalAccessException
- if the class or initializer denoted by the
pluginClassName
is not accessible.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |