org.ofbiz.commons.vfs
Class CommonsVfsContainer

java.lang.Object
  extended by org.ofbiz.commons.vfs.CommonsVfsContainer
All Implemented Interfaces:
Container

public class CommonsVfsContainer
extends java.lang.Object
implements Container


Constructor Summary
CommonsVfsContainer()
           
 
Method Summary
static FileSystemManager getFileSystemManager()
           
 void init(java.lang.String[] args, java.lang.String configFile)
          Initialize the container
static FileObject resolveFile(java.lang.String uri)
           
 boolean start()
          Start the container
 void stop()
          Stop the container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsVfsContainer

public CommonsVfsContainer()
Method Detail

init

public void init(java.lang.String[] args,
                 java.lang.String configFile)
          throws ContainerException
Description copied from interface: Container
Initialize the container

Specified by:
init in interface Container
Parameters:
args - args from calling class
configFile - Location of master OFBiz configuration file
Throws:
ContainerException

start

public boolean start()
              throws ContainerException
Description copied from interface: Container
Start the container

Specified by:
start in interface Container
Returns:
true if server started
Throws:
ContainerException

stop

public void stop()
          throws ContainerException
Description copied from interface: Container
Stop the container

Specified by:
stop in interface Container
Throws:
ContainerException

resolveFile

public static FileObject resolveFile(java.lang.String uri)
                              throws java.io.IOException
Throws:
java.io.IOException

getFileSystemManager

public static FileSystemManager getFileSystemManager()