Overview Module Function Class I*Tea 3.6.8 Reference Documentation© 2013 PDM&FC

Class TIteaServer

Represents an I*Tea server.

Method Summary
addServiceWith name javaClass configParams
         Adds a service to this I*Tea server.
constructor
         Initializes the internal state.
start
         Starts all the services.
stop
         Stops all currently active services.
waitForServices
         Waits for all the currenly active services to become eligeble to be stoped.

Method Detail

addServiceWith

TIteaServer addServiceWith name javaClass configParams

Adds a service to this I*Tea server.

Parameters:
name - The name to assign to the service.
javaClass - Name of the Java class implementing the service.
configParams - Hashtable containing the service configuration parameters.
Returns:
A reference to the object it was called for.

Adds a service to this I*Tea server. The order the services get added to the I*Tea server defines the order with which the services are started.

constructor

TIteaServer constructor

Initializes the internal state.

Returns:
A reference to the object it was called for.

Initializes the internal state.

start

TIteaServer start

Starts all the services.

Returns:
True if all services were succesfully started. False otherwise.

Starts all the services previously added with calls to the the addServiceWith method.

stop

TIteaServer stop

Stops all currently active services.

Returns:
A reference for the object for which this method was called.

Stops all currently active services.

waitForServices

TIteaServer waitForServices

Waits for all the currenly active services to become eligeble to be stoped.

Returns:
A reference for the object for which this method was called.

Waits for all the currenly active services to become eligeble to be stoped.


Overview Module Function Class ${tea.teadoc.header}
Report a bug or request new features
© 2013