|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.profileservice.repository.AbstractAttachmentStore
public class AbstractAttachmentStore
The AbstractAttachmentStore.
Field Summary | |
---|---|
static String |
METADATA_NAME
The metadata name |
Constructor Summary | |
---|---|
AbstractAttachmentStore(File root)
|
|
AbstractAttachmentStore(URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String METADATA_NAME
Constructor Detail |
---|
public AbstractAttachmentStore(File root)
public AbstractAttachmentStore(URI uri)
Method Detail |
---|
protected static URI getURI(File root)
public URI getAttachmentStoreRoot()
AttachmentStore
getAttachmentStoreRoot
in interface AttachmentStore
public org.jboss.deployers.structure.spi.main.MainDeployerStructure getMainDeployer()
public void setMainDeployer(org.jboss.deployers.structure.spi.main.MainDeployerStructure mainDeployer)
public AbstractFileAttachmentsSerializer getSerializer()
public void setSerializer(AbstractFileAttachmentsSerializer serializer)
public PersistenceFactory getPersistenceFactory()
public void setPersistenceFactory(PersistenceFactory persistenceFactory)
public org.jboss.deployers.client.spi.Deployment createDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment) throws Exception
AttachmentStore
createDeployment
in interface AttachmentStore
Exception
protected RepositoryAttachmentMetaData loadAttachmentMetaData(String relativeDeploymentPath)
relativeDeploymentPath
- the relative path
public RepositoryAttachmentMetaData loadMetaData(org.jboss.virtual.VirtualFile deploymentRoot) throws Exception
AttachmentStore
loadMetaData
in interface AttachmentStore
deploymentRoot
- the deployment root
Exception
public void removeComponent(String ctx, org.jboss.managed.api.ManagedComponent comp) throws Exception
AttachmentStore
removeComponent
in interface AttachmentStore
ctx
- the deployment context namecomp
- the managed componenbt
Exception
public void updateDeployment(String ctx, org.jboss.managed.api.ManagedComponent comp) throws Exception
AttachmentStore
updateDeployment
in interface AttachmentStore
ctx
- the deployment context namecomp
- the managed componenbt
Exception
public void saveAttachment(String deploymentName, org.jboss.managed.api.ManagedComponent component, boolean remove) throws Exception
Exception
protected PersistenceRoot createPersistedMetaData(PersistenceRoot root, org.jboss.managed.api.ManagedObject managedObject, org.jboss.managed.api.ManagedComponent component, boolean remove)
parent
- the parent managed object.the
- managed objecthandler
- the persistence handler
public PersistenceRoot loadAttachment(org.jboss.virtual.VirtualFile deploymentCtx, AttachmentMetaData attachment) throws Exception
AttachmentStore
loadAttachment
in interface AttachmentStore
Exception
protected String getMetaDataPathName(String deploymentPath)
deploymentPath
- the relative path to the deployment
protected String createRelativeDeploymentPath(org.jboss.virtual.VirtualFile vf) throws Exception
deployment
- the deployment
Exception
protected org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext getDeploymentContext(String name)
name
- the deployment context name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |