org.apache.commons.vfs.provider
Interface VfsComponent

All Known Implementing Classes:
AbstractVfsComponent, PrivilegedFileReplicator

public interface VfsComponent

This interface is used to manage the lifecycle of all VFS components. This includes all implementations of the following interfaces:

Version:
$Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
Adam Murdoch

Method Summary
 void close()
          Closes the component.
 void init()
          Initialises the component.
 void setContext(VfsComponentContext context)
          Sets the context for the component.
 void setLogger(org.apache.commons.logging.Log logger)
          Sets the Logger to use for the component.
 

Method Detail

setLogger

public void setLogger(org.apache.commons.logging.Log logger)
Sets the Logger to use for the component.

Parameters:
logger -

setContext

public void setContext(VfsComponentContext context)
Sets the context for the component.

Parameters:
context - The context.

init

public void init()
          throws FileSystemException
Initialises the component.

Throws:
FileSystemException

close

public void close()
Closes the component.



Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.