com.baan.b3.legacydirectory
Interface IActivation
- public interface IActivation
Represents a Bus Component's activation information.
- Version:
- Build Nr 61, file version \\main\\3, 15:09:11 24-07-2006 UTC
|
Method Summary |
java.lang.String |
getPolicy()
Retrieve the pooling policy for the activation service. |
java.lang.String |
getServerTimeout()
Retrieve the timeout of the server. |
java.lang.String |
getServiceReference()
Retrieve a string containing the service reference. |
java.lang.String |
getType()
Retrieve the type of activation service the component uses. |
getType
public java.lang.String getType()
- Retrieve the type of activation service the component uses.
This specifies the type of the activation service. There are two types
supported: ASM (Application Services Manager) and INPROC
(In-Proces Activation). The BaanERP activation service is of type ASM
and INPROC stands for the activation mechanism to start OpenWorld Adapter
Servers in the same process as the OpenWorldX Adapter client.
Threading policy: MTSafe.
- Returns:
- the activation type.
getServerTimeout
public java.lang.String getServerTimeout()
- Retrieve the timeout of the server.
Backends have a timeout that causes the server to stop when
the timer expires. The server is stopped when no request has
been handled within the timeout value. Normally a Backend is
stopped when all Managers that use that Backend are closed.
The timeout mechanism is only used in abnormal situations to
stop a Backend. For example: when a client program crashed,
and did not stop in the normal way. Therefore the timeout
value is quite a long time, for instance: 1 hour. The timeout value
is in minutes. With the limitedshared policy you can specify
the number of Managers that are allowed to connect to one Backend.
Threading policy: MTSafe.
- Returns:
- the server timeout in minutes.
getPolicy
public java.lang.String getPolicy()
- Retrieve the pooling policy for the activation service.
The pooling policy can have following values:
shared: This policy starts a Backend when a Manager is initialized
for the first time. Next Managers that use that same Backend
and are in the same UserSession, will use the same Backend.
The last Manager that is closed will stop the Backend.
limitedshared: This policy is the same as shared, but has a limitation
on the number of Managers that use one Backend. A new
Backend is started when the limit is exceeded.
Threading policy: MTSafe.
- Returns:
- the pooling policy.
getServiceReference
public java.lang.String getServiceReference()
- Retrieve a string containing the service reference.
The syntax for the activation service reference is specific for each
type. For type ASM the syntax is: ::.
For type INPROC the following strings are possible:
’java-owserver’, for starting the OpenWorldX Adapter Server for Java inproc.
’baanerp-owserver’, for starting the OpenWorldX Adapter for Baan ERP inproc.
’corba-owserver’, for starting the OpenWorldX Adapter Server for CORBA inproc. (part of the CORBA Connector).
Threading policy: MTSafe.
- Returns:
- a string containing the service reference.
Visit the SSA Global website for more information.