VfsComponent
AbstractFilesCache
, AbstractFileSystem
, AbstractVfsContainer
, DefaultFileReplicator
public abstract class AbstractVfsComponent extends java.lang.Object implements VfsComponent
VfsComponent
implementation.Constructor | Description |
---|---|
AbstractVfsComponent() |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Closes the provider.
|
protected VfsComponentContext |
getContext() |
Returns the context for this provider.
|
protected org.apache.commons.logging.Log |
getLogger() |
Returns the logger for this file system to use.
|
void |
init() |
Initialises the component.
|
void |
setContext(VfsComponentContext context) |
Sets the context for this file system provider.
|
void |
setLogger(org.apache.commons.logging.Log log) |
Sets the Logger to use for the component.
|
public final void setLogger(org.apache.commons.logging.Log log)
setLogger
in interface VfsComponent
public final void setContext(VfsComponentContext context)
setContext
in interface VfsComponent
context
- The context.public void init() throws FileSystemException
init
in interface VfsComponent
FileSystemException
public void close()
close
in interface VfsComponent
protected final org.apache.commons.logging.Log getLogger()
protected final VfsComponentContext getContext()