org.jboss.portal.cms.hibernate.state
Class JBossCachePersistenceManager
java.lang.Object
org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager
public class JBossCachePersistenceManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEMA_OBJECT_PREFIX_VARIABLE
protected static final java.lang.String SCHEMA_OBJECT_PREFIX_VARIABLE
- See Also:
- Constant Field Values
initialized
protected boolean initialized
jndiName
protected java.lang.String jndiName
schemaObjectPrefix
protected java.lang.String schemaObjectPrefix
externalBLOBs
protected boolean externalBLOBs
INITIAL_BUFFER_SIZE
protected static final int INITIAL_BUFFER_SIZE
- See Also:
- Constant Field Values
blobSelect
protected java.lang.String blobSelect
blobSelectData
protected java.lang.String blobSelectData
blobSelectExist
protected java.lang.String blobSelectExist
nodeBinValSelect
protected java.lang.String nodeBinValSelect
blobFS
protected FileSystem blobFS
- file system where BLOB data is stored (if
externalBLOBs==true
)
blobStore
protected BLOBStore blobStore
- BLOBStore that manages BLOB data in the file system (if
externalBLOBs==true
)
JBossCachePersistenceManager
public JBossCachePersistenceManager()
getJNDIName
public java.lang.String getJNDIName()
setJNDIName
public void setJNDIName(java.lang.String JNDIName)
getSchemaObjectPrefix
public java.lang.String getSchemaObjectPrefix()
setSchemaObjectPrefix
public void setSchemaObjectPrefix(java.lang.String schemaObjectPrefix)
isExternalBLOBs
public boolean isExternalBLOBs()
setExternalBLOBs
public void setExternalBLOBs(boolean externalBLOBs)
setExternalBLOBs
public void setExternalBLOBs(java.lang.String externalBLOBs)
init
public void init(PMContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
exists
public boolean exists(NodeId node)
throws ItemStateException
- Throws:
ItemStateException
load
public NodeState load(NodeId node)
throws NoSuchItemStateException,
ItemStateException
- Throws:
NoSuchItemStateException
ItemStateException
close
public void close()
throws java.lang.Exception
- Throws:
java.lang.Exception
createNew
public NodeState createNew(NodeId id)
-
storeHB
public void storeHB(ChangeLog changeLog)
throws ItemStateException
- Throws:
ItemStateException
logException
protected void logException(java.lang.String message,
java.sql.SQLException se)