|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.replica.ReplicaFactory
public class ReplicaFactory
This factory loads a replica catalog, as specified by the properties. Each invocation of the factory will result in a new instance of a connection to the replica catalog.
edu.isi.pegasus.planner.catalog.replica.ReplicaCatalog,
ReplicaCatalogEntry,
JDBCRC| Field Summary | |
|---|---|
static String |
DEFAULT_PACKAGE
Package to prefix "just" class names with. |
| Constructor Summary | |
|---|---|
ReplicaFactory()
|
|
| Method Summary | |
|---|---|
static ReplicaCatalog |
loadInstance()
Connects the interface with the replica catalog implementation. |
static ReplicaCatalog |
loadInstance(CommonProperties props)
Connects the interface with the replica catalog implementation. |
static ReplicaCatalog |
loadInstance(PegasusProperties props)
Connects the interface with the replica catalog implementation. |
static ReplicaCatalog |
loadInstance(String catalogImplementor,
Properties props)
Connects the interface with the replica catalog implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PACKAGE
| Constructor Detail |
|---|
public ReplicaFactory()
| Method Detail |
|---|
public static ReplicaCatalog loadInstance(PegasusProperties props)
throws ClassNotFoundException,
IOException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
props - is an instance of properties to use.
ClassNotFoundException - if the schema for the database
cannot be loaded. You might want to check your CLASSPATH, too.
NoSuchMethodException - if the schema's constructor interface
does not comply with the database driver API.
InstantiationException - if the schema class is an abstract
class instead of a concrete implementation.
IllegalAccessException - if the constructor for the schema
class it not publicly accessible to this package.
InvocationTargetException - if the constructor of the schema
throws an exception while being dynamically loaded.
IOExceptionorg.griphyn.common.util.CommonProperties,
loadInstance()
public static ReplicaCatalog loadInstance(CommonProperties props)
throws ClassNotFoundException,
IOException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
props - is an instance of properties to use.
ClassNotFoundException - if the schema for the database
cannot be loaded. You might want to check your CLASSPATH, too.
NoSuchMethodException - if the schema's constructor interface
does not comply with the database driver API.
InstantiationException - if the schema class is an abstract
class instead of a concrete implementation.
IllegalAccessException - if the constructor for the schema
class it not publicly accessible to this package.
InvocationTargetException - if the constructor of the schema
throws an exception while being dynamically loaded.
IOExceptionorg.griphyn.common.util.CommonProperties,
loadInstance()
public static ReplicaCatalog loadInstance(String catalogImplementor,
Properties props)
throws ClassNotFoundException,
IOException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
props - is an instance of properties to use.
ClassNotFoundException - if the schema for the database
cannot be loaded. You might want to check your CLASSPATH, too.
NoSuchMethodException - if the schema's constructor interface
does not comply with the database driver API.
InstantiationException - if the schema class is an abstract
class instead of a concrete implementation.
IllegalAccessException - if the constructor for the schema
class it not publicly accessible to this package.
InvocationTargetException - if the constructor of the schema
throws an exception while being dynamically loaded.
IOExceptionorg.griphyn.common.util.CommonProperties,
loadInstance()
public static ReplicaCatalog loadInstance()
throws ClassNotFoundException,
IOException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
MissingResourceException
ClassNotFoundException - if the schema for the database
cannot be loaded. You might want to check your CLASSPATH, too.
NoSuchMethodException - if the schema's constructor interface
does not comply with the database driver API.
InstantiationException - if the schema class is an abstract
class instead of a concrete implementation.
IllegalAccessException - if the constructor for the schema
class it not publicly accessible to this package.
InvocationTargetException - if the constructor of the schema
throws an exception while being dynamically loaded.
MissingResourceException - if the properties could not
be loaded properly.
IOExceptionorg.griphyn.common.util.CommonProperties,
#loadInstance( org.griphyn.common.util.CommonProperties )
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||