org.ofbiz.base.container
Class BeanShellContainer

java.lang.Object
  extended by org.ofbiz.base.container.BeanShellContainer
All Implemented Interfaces:
Container

public class BeanShellContainer
extends java.lang.Object
implements Container

BeanShellContainer - Container implementation for BeanShell


Field Summary
protected  Interpreter bsh
           
protected  java.lang.String configFileLocation
           
static java.lang.String module
           
protected  java.lang.String name
           
protected  int port
           
 
Constructor Summary
BeanShellContainer()
           
 
Method Summary
 void init(java.lang.String[] args, java.lang.String configFile)
          Initialize the container
 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
 

Field Detail

module

public static final java.lang.String module

configFileLocation

protected java.lang.String configFileLocation

bsh

protected Interpreter bsh

name

protected java.lang.String name

port

protected int port
Constructor Detail

BeanShellContainer

public BeanShellContainer()
Method Detail

init

public void init(java.lang.String[] args,
                 java.lang.String configFile)
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
See Also:
Container.init(java.lang.String[], java.lang.String)

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
See Also:
Container.init(java.lang.String[], java.lang.String)

stop

public void stop()
          throws ContainerException
Stop the container

Specified by:
stop in interface Container
Throws:
ContainerException