org.jboss.system.server.profileservice.repository
Class HotDeploymentRepository
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource
org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository
org.jboss.system.server.profileservice.repository.BasicDeploymentRepository
org.jboss.system.server.profileservice.repository.HotDeploymentRepository
- All Implemented Interfaces:
- org.jboss.profileservice.spi.DeploymentRepository
- Direct Known Subclasses:
- ClusteredDeploymentRepository, ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile
public class HotDeploymentRepository
- extends BasicDeploymentRepository
A deployment repository, with hot deployment capabilities.
- Version:
- $Revision: 87159 $
- Author:
- Emanuel Muckenhuber, Ales Justin
Methods inherited from class org.jboss.system.server.profileservice.repository.BasicDeploymentRepository |
addDeployment, addDeploymentContent, addDeploymentContent, getUploadUri, internalAddDeployment, isFailIfAlreadyExists, load, lockRead, lockWrite, remove, removeDeployment, removeDeployment, setFailIfAlreadyExists, setUploadUri, unlockRead, unlockWrite |
Methods inherited from class org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository |
acceptsDeployment, clearDeploymentContentFlags, create, getDeployment, getDeploymentContent, getDeploymentContentFlags, getProfileKey, getRepositoryNames, hasDeploymentContentFlags, lockDeploymentContent, setDeploymentContentFlags, unload, unlockDeploymentContent |
Methods inherited from class org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource |
addedDeployment, addedDeployments, addVirtualFileCache, createDeployment, destroy, findDeploymentContent, getCachedVirtualFile, getCachedVirtualFile, getDeploymentFilter, getDeploymentNames, getDeployments, getLastModified, getRepositoryURIs, isRecursiveScan, loadApplications, setDeploymentFilter, setRecursiveScan, updateLastModfied |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.profileservice.spi.DeploymentRepository |
getDeploymentNames, getDeployments, getLastModified, getRepositoryURIs |
HotDeploymentRepository
public HotDeploymentRepository(org.jboss.profileservice.spi.ProfileKey key,
URI[] uris)
getChecker
protected org.jboss.deployers.vfs.spi.structure.modified.StructureModificationChecker getChecker()
- Get the structure modified checker.
- Returns:
- the checker
setChecker
public void setChecker(org.jboss.deployers.vfs.spi.structure.modified.StructureModificationChecker checker)
- Set the checker.
- Parameters:
checker
- the checker
getModifiedDeployments
public Collection<org.jboss.profileservice.spi.ModificationInfo> getModifiedDeployments()
throws Exception
- Specified by:
getModifiedDeployments
in interface org.jboss.profileservice.spi.DeploymentRepository
- Overrides:
getModifiedDeployments
in class BasicDeploymentRepository
- Throws:
Exception
checkForAdditions
protected void checkForAdditions(List<org.jboss.profileservice.spi.ModificationInfo> modified)
throws Exception
- Check for additions.
- Parameters:
modified
- the modified list
- Throws:
Exception
- for any error
applyAddedDeployments
protected void applyAddedDeployments(URI applicationDir,
List<org.jboss.profileservice.spi.ModificationInfo> modified,
List<org.jboss.virtual.VirtualFile> added)
throws Exception
- Apply added deployments.
- Parameters:
applicationDir
- the app dirmodified
- the modifed listadded
- the added deployments
- Throws:
Exception
- for any error
cleanUpRoot
protected void cleanUpRoot(org.jboss.virtual.VirtualFile vf)
- Description copied from class:
BasicDeploymentRepository
- A way for the hot-deployment repository to cleanup
the root (modification checker).
- Overrides:
cleanUpRoot
in class BasicDeploymentRepository
- Parameters:
vf
- the deployment root
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.