ConfigManagerBean.setHandler
Sets the call handler for the component.
void setHandler(String
newHandler)
Arguments
newHandler—handler for the Java instructions; one of:
uvm
(default)—Uniface Virtual Machine; loads the uvmHandler class, which is used by the UnifaceComponent class to handle embedded components.jvm
—Java Virtual Machine
Return Values
None.
Description
This method sets the component handler. If you do
not specify the handler, uvm
is used as the default.
When you have to create instances for a component, UnifaceComponent queries the configuration manager for the type for this component. It then loads the required handler class. The handler class uses other properties set by the Configuration Manager.
Property |
uvm |
jvm |
Value |
---|---|---|---|
name |
X |
X |
|
commandline |
X |
X |
Command line to start an embedded Uniface VM |
asnname |
X |
X |
Name of the assignment file |
apsname |
X |
X |
Name of the application shell file |
workdir |
X |
X |
Working directory for the embedded Uniface VM |
class |
|
X |
Name of the Java class (not the file name) that implements the component |
For the Java VM, there are no additional classes required for implementation of the activate method using Java classes because this is directly supported by UnifaceComponent. The parameters are passed, without modification, as Java objects.