|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.system.server.profileservice.VFSScanner
public abstract class VFSScanner
A DeploymentScanner build on top of the VFS and ProfileService. This is a first pass to flesh out the APIs/concepts.
Field Summary |
---|
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
VFSScanner()
|
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VFSScanner()
Method Detail |
---|
public org.jboss.profileservice.spi.ProfileKey getProfileKey()
public void setProfileKey(org.jboss.profileservice.spi.ProfileKey profileKey)
profileKey
- the profileKey.public org.jboss.profileservice.spi.ProfileService getProfileService()
public void setProfileService(org.jboss.profileservice.spi.ProfileService profileService)
profileService
- the profileService.public void setURIs(String listspec) throws URISyntaxException, IOException
listspec
- the uris
URISyntaxException
IOException
public void setURIList(List<URI> list) throws IOException
list
- the list
IOException
public List<URI> getURIList()
public void setRecursiveSearch(boolean recurse)
recurse
- true when recurisvepublic boolean getRecursiveSearch()
public void setFilter(String classname) throws ClassNotFoundException, IllegalAccessException, InstantiationException
classname
- the filter class name
ClassNotFoundException
- when the class is not found
IllegalAccessException
- when the class's default constructor is not public
InstantiationException
- when there is an error constructing the classpublic String getFilter()
public void setFilterInstance(org.jboss.virtual.VirtualFileFilter filter)
filter
- ther filterpublic org.jboss.virtual.VirtualFileFilter getFilterInstance()
public void addURI(URI uri) throws IOException
uri
- the uri
IOException
- for an error accessing the uripublic void removeURI(URI uri) throws IOException
uri
- the uri
IOException
- for an error accessing the uripublic boolean hasURI(URI uri)
uri
- the uri
public void start() throws Exception
Exception
- for any errorpublic void scan() throws Exception
Exception
- for any errorprotected abstract org.jboss.deployers.vfs.spi.client.VFSDeployment add(org.jboss.profileservice.spi.Profile profile, org.jboss.virtual.VirtualFile file) throws Exception
profile
- the profilefile
- the virtual file
Exception
- for any errorprotected abstract void remove(org.jboss.profileservice.spi.Profile profile, String name) throws Exception
profile
- the profilename
- the name
Exception
- for any errorprotected org.jboss.deployers.vfs.spi.client.VFSDeployment createDeployment(org.jboss.virtual.VirtualFile file)
file
- the root file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |