|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gridbus.broker.persistence.PersistenceFactory
public class PersistenceFactory
Field Summary | |
---|---|
static int |
DB
Database persistence mode |
static int |
UNKNOWN
Unknown persistence mode |
static int |
XML
XML persistence mode |
Constructor Summary | |
---|---|
PersistenceFactory(java.lang.Object config)
|
Method Summary | |
---|---|
Reader |
getReader(java.lang.String type,
boolean connectAtStart)
|
Writer |
getWriter(java.lang.String type,
boolean connectAtStart)
|
static java.lang.String |
persistenceType(int type)
Returns the string representation of the int type given. |
static int |
persistenceType(java.lang.String type)
Returns the int representation of the string type given. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int XML
public static final int DB
public static final int UNKNOWN
Constructor Detail |
---|
public PersistenceFactory(java.lang.Object config)
config
- Method Detail |
---|
public static final java.lang.String persistenceType(int type)
type
-
public static final int persistenceType(java.lang.String type)
type
-
public Writer getWriter(java.lang.String type, boolean connectAtStart) throws java.lang.Exception
type
- connectAtStart
-
java.lang.Exception
public Reader getReader(java.lang.String type, boolean connectAtStart) throws java.lang.Exception
type
- connectAtStart
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |