org.teiid.deployers
Class ObjectSerializer
java.lang.Object
org.teiid.deployers.ObjectSerializer
public class ObjectSerializer
- extends java.lang.Object
Method Summary |
java.io.File |
getAttachmentPath(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit vf,
java.lang.String baseName)
|
|
loadAttachment(java.io.File attachmentsStore,
java.lang.Class<T> expected)
|
|
loadSafe(java.io.File cacheFile,
java.lang.Class<T> clazz)
|
void |
removeAttachments(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit vf)
|
void |
saveAttachment(java.io.File attachmentsStore,
java.lang.Object attachment)
|
void |
setAttachmentStoreRoot(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSerializer
public ObjectSerializer()
setAttachmentStoreRoot
public void setAttachmentStoreRoot(java.lang.String path)
loadAttachment
public <T> T loadAttachment(java.io.File attachmentsStore,
java.lang.Class<T> expected)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
saveAttachment
public void saveAttachment(java.io.File attachmentsStore,
java.lang.Object attachment)
throws java.io.IOException
- Throws:
java.io.IOException
removeAttachments
public void removeAttachments(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit vf)
getAttachmentPath
public java.io.File getAttachmentPath(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit vf,
java.lang.String baseName)
loadSafe
public <T> T loadSafe(java.io.File cacheFile,
java.lang.Class<T> clazz)
Copyright © 2010. All Rights Reserved.