org.jboss.seam.integration.jbossas.vfs
public class VFSScanner extends org.jboss.seam.deployment.AbstractScanner
Modifier and Type | Field and Description |
---|---|
protected static Method |
handleMethod |
protected org.jboss.seam.log.LogProvider |
log |
Constructor and Description |
---|
VFSScanner(org.jboss.seam.deployment.DeploymentStrategy deploymentStrategy) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.vfs.VirtualFile |
getRoot(URL url,
int parentDepth)
Get the virtual file root.
|
long |
getTimestamp() |
protected void |
handleItem(ModifiableResource resource,
String name)
Handle item.
|
protected void |
handleItemIgnoreErrors(String name)
Handle item, ignore any errors.
|
protected void |
handleRoot(org.jboss.vfs.VirtualFile root)
Handle virtual file root.
|
void |
scanDirectories(File[] directories) |
void |
scanDirectories(File[] directories,
File[] excludedDirectories) |
void |
scanResources(String[] resources) |
protected final org.jboss.seam.log.LogProvider log
protected static Method handleMethod
public VFSScanner(org.jboss.seam.deployment.DeploymentStrategy deploymentStrategy)
protected org.jboss.vfs.VirtualFile getRoot(URL url, int parentDepth) throws IOException
url
- the root URLparentDepth
- level of parent depthIOException
- for any errorpublic void scanDirectories(File[] directories)
public void scanDirectories(File[] directories, File[] excludedDirectories)
scanDirectories
in interface org.jboss.seam.deployment.Scanner
scanDirectories
in class org.jboss.seam.deployment.AbstractScanner
public void scanResources(String[] resources)
protected void handleRoot(org.jboss.vfs.VirtualFile root) throws IOException
root
- the virtual file rootIOException
- for any errorprotected void handleItem(ModifiableResource resource, String name) throws IOException
resource
- the item's resourcename
- the item nameIOException
- for any errorprotected void handleItemIgnoreErrors(String name)
name
- the item namepublic long getTimestamp()
getTimestamp
in interface org.jboss.seam.deployment.Scanner
getTimestamp
in class org.jboss.seam.deployment.AbstractScanner
Copyright © 2014 JBoss by Red Hat. All rights reserved.