Package org.apache.ofbiz.service.rmi
Class RmiServiceContainer
- java.lang.Object
-
- org.apache.ofbiz.service.rmi.RmiServiceContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
configFile
static java.lang.String
module
protected java.lang.String
name
protected RemoteDispatcherImpl
remote
-
Constructor Summary
Constructors Constructor Description RmiServiceContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Return the container name.void
init(java.util.List<StartupCommand> ofbizCommands, java.lang.String name, java.lang.String configFile)
Initialize the container.boolean
start()
Start the container process.void
stop()
Stop the container process.
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
remote
protected RemoteDispatcherImpl remote
-
configFile
protected java.lang.String configFile
-
name
protected java.lang.String name
-
-
Method Detail
-
init
public void init(java.util.List<StartupCommand> ofbizCommands, java.lang.String name, java.lang.String configFile)
Description copied from interface:Container
Initialize the container. This method must not block - implementations should initialize internal structures and then return.
-
start
public boolean start() throws ContainerException
Description copied from interface:Container
Start the container process. This method must not block - implementations that require thread blocking must create a separate thread and then return.- Specified by:
start
in interfaceContainer
- Returns:
true
if the process started.- Throws:
ContainerException
- If an error was encountered.
-
stop
public void stop() throws ContainerException
Description copied from interface:Container
Stop the container process. This method must not block.- Specified by:
stop
in interfaceContainer
- Throws:
ContainerException
- If an error was encountered.
-
-