![]() |
![]() |
|
|
T_SERVICE CLASS
Overview
The T_SERVICE class represents configuration attributes of services within an application. These attribute values identify and characterize configured services. A T_SERVICE object provides activation time configuration attributes for services not specifically configured as part of the T_SVCGRP class. Run-time information about services active in the application is provided solely through the T_SVCGRP class. Run-time updates to the T_SERVICE class are usually not reflected in active T_SVCGRP objects (TA_ROUTINGNAME is the exception).
Both the T_SERVICE class and the T_SVCGRP class define activation time attribute settings for service names within the application. When a new service is activated (advertised), either due to initial activation of a server or due to a call to tpadvertise(3c), the following hierarchy exists for determining the attribute values to be used at service startup time.
The specification of configuration attributes for application services is completely optional, that is, services advertised by servers as they are activated will take on the established default service attribute values if configured values are not available (see above for description of how attribute values are identified at service activation time). Service names to be offered by a server are built in at run-time (see buildserver(1)) and may be overridden by the command-line options specified for a server object (see T_SERVER:TA_CLOPT and servopts(5)).
Attribute Table
Attribute |
Type |
Permissions |
Values |
Default |
---|---|---|---|---|
TA_SERVICENAME( r )( * ) |
string |
ru-r--r-- |
string[1...15] |
N/A |
TA_STATE( k ) |
string |
rw-r--r-- |
GET:"{ACT|INA}" SET:"{NEW|INV}" |
N/A N/A |
TA_AUTOTRAN |
string |
rwyr--r-- |
"{Y|N}" |
"N" |
TA_LOAD |
long |
rwyr--r-- |
1 <= num < 32K |
50 |
TA_PRIO |
long |
rwyr--r-- |
1 <= num < 101 |
50 |
TA_SVCTIMEOUT |
long |
rwyr--r-- |
0 <= num |
0 |
TA_TRANTIME |
long |
rwyr--r-- |
0 <= num |
30 |
TA_BUFTYPE |
string |
rw-r--r-- |
string[1...256] |
"ALL" |
TA_ROUTINGNAME |
string |
rwxr--r-- |
string[0...15] |
"" |
( k ) - GET key field |
ACTive |
T_SERVICE object is defined and at least one T_SVCGRP object with a matching TA_SERVICENAME value is active. |
INActive |
T_SERVICE object is defined and no T_SVCGRP object with a matching TA_SERVICENAME value is active. |
NEW |
Create T_SERVICE object for application. State change allowed only when in the INValid state. Successful return leaves the object in the INActive state. Limitation: Unconfigured services may still be active by virtue of a server advertising them. In this case, the creation of a new T_SERVICE object is not allowed. |
unset |
Modify an existing T_SERVICE object. This combination is not allowed in the INValid state. Successful return leaves the object state unchanged. |
INValid |
Delete T_SERVICE object for application. State change allowed only when in the INActive state. Successful return leaves the object in the INValid state. |
Limitations
None.
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|