org.jboss.system.server.profileservice.repository
Class JAXBAttachmentSerializer
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractFileAttachmentsSerializer
org.jboss.system.server.profileservice.repository.JAXBAttachmentSerializer
public class JAXBAttachmentSerializer
- extends AbstractFileAttachmentsSerializer
A basic JAXB attachment Serializer.
- Version:
- $Revision: 88906 $
- Author:
- Emanuel Muckenhuber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBAttachmentSerializer
public JAXBAttachmentSerializer(File dir)
loadAttachment
protected <T> T loadAttachment(File attachmentsStore,
Class<T> expected)
throws Exception
- Specified by:
loadAttachment
in class AbstractFileAttachmentsSerializer
- Throws:
Exception
saveAttachment
protected void saveAttachment(File attachmentsStore,
Object attachment)
throws Exception
- Specified by:
saveAttachment
in class AbstractFileAttachmentsSerializer
- Throws:
Exception
getAttachmentPath
protected File getAttachmentPath(String baseName)
- Overrides:
getAttachmentPath
in class AbstractFileAttachmentsSerializer
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.