Class: com.sybase.djc.server.ServiceComponent (Service Component) | EAServer 6.3 Help |
---|
Description |
A service component is a background task that runs at server startup,
shutdown, and during server operation.
For a service component to be active in a server, the service component's name must be included in the server's serviceComponents property. See also: Scheduled Task. Note that service components are activated before scheduled tasks. |
---|---|
Configuration | See Set Properties Task. |
Properties | allowStartFailure, component, dependsOn, runThreadCount, startBeforeBinding, startOrder, stopWaitTime |
Files | Repository/Instance/com/sybase/djc/server/ServiceComponent/*.properties |
Property: component (Component) | |
---|---|
Description |
Required. Name of the class implementing an EJB's local or remote interface
(e.g. "ejb.components.example.MyServiceLocal" or "ejb.components.example.MyServiceRemote"),
or the name of a plain Java class.
If the EJB is a wrapper generated for a CORBA component, the CORBA component can optionally implement the CtsServices::GenericService IDL interface. The component or class may optionally implement any or all of the following methods:
|
Property: dependsOn (Depends On) | |
---|---|
Description | A comma-separated list of names of other service components that must be started before this service component. |
Property: runThreadCount (Run Thread Count) | |
---|---|
Description | The number of threads the server should start to simultaneously call the "run" method. |
Default Value | 1 |
Minimum Value | 1 |
Maximum Value | 2147483647 |
Property: startBeforeBinding (Start Before Binding) | |
---|---|
Description | Enable if the service must start before name service bindings are set up. |
Default Value | false |
Legal Values | false, true |