org.jboss.system.tools
Class ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile
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
org.jboss.system.tools.ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile
- All Implemented Interfaces:
- org.jboss.profileservice.spi.DeploymentRepository, org.jboss.profileservice.spi.MutableProfile, org.jboss.profileservice.spi.Profile
- Enclosing class:
- ProfileServiceDeploymentRepositoryAdapter
public static class ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile
- extends HotDeploymentRepository
- implements org.jboss.profileservice.spi.MutableProfile
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.MutableProfile |
removeDeployment |
Methods inherited from interface org.jboss.profileservice.spi.Profile |
getDeployment, getDeploymentNames, getDeployments, getLastModified |
Methods inherited from interface org.jboss.profileservice.spi.DeploymentRepository |
getDeploymentNames, getDeployments, getLastModified, getRepositoryURIs |
ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile
public ProfileServiceDeploymentRepositoryAdapter.DeploymentScannerProfile(org.jboss.deployers.vfs.spi.structure.modified.StructureModificationChecker checker)
addDeployment
public void addDeployment(org.jboss.profileservice.spi.ProfileDeployment deployment)
throws Exception
- Specified by:
addDeployment
in interface org.jboss.profileservice.spi.MutableProfile
- Throws:
Exception
enableModifiedDeploymentChecks
public void enableModifiedDeploymentChecks(boolean flag)
- Specified by:
enableModifiedDeploymentChecks
in interface org.jboss.profileservice.spi.MutableProfile
getModifiedDeployments
public Collection<org.jboss.profileservice.spi.ModificationInfo> getModifiedDeployments()
throws Exception
- Specified by:
getModifiedDeployments
in interface org.jboss.profileservice.spi.DeploymentRepository
- Specified by:
getModifiedDeployments
in interface org.jboss.profileservice.spi.MutableProfile
- Overrides:
getModifiedDeployments
in class HotDeploymentRepository
- Throws:
Exception
checkForAdditions
protected void checkForAdditions(List<org.jboss.profileservice.spi.ModificationInfo> modified)
throws Exception
- Description copied from class:
HotDeploymentRepository
- Check for additions.
- Overrides:
checkForAdditions
in class HotDeploymentRepository
- 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
- Description copied from class:
HotDeploymentRepository
- Apply added deployments.
- Overrides:
applyAddedDeployments
in class HotDeploymentRepository
- Parameters:
applicationDir
- the app dirmodified
- the modifed listadded
- the added deployments
- Throws:
Exception
- for any error
getKey
public org.jboss.profileservice.spi.ProfileKey getKey()
- Specified by:
getKey
in interface org.jboss.profileservice.spi.Profile
getSubProfiles
public Collection<org.jboss.profileservice.spi.ProfileKey> getSubProfiles()
- Specified by:
getSubProfiles
in interface org.jboss.profileservice.spi.Profile
hasDeployment
public boolean hasDeployment(String name)
- Specified by:
hasDeployment
in interface org.jboss.profileservice.spi.Profile
isMutable
public boolean isMutable()
- Specified by:
isMutable
in interface org.jboss.profileservice.spi.Profile
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.