uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.4.15 @Lock

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

Specify a method to perform exclusive control when you are accessing business methods of Singleton Session Bean in which the Container Managed Concurrency is set.

(2) Attribute

The following table lists the @Lock attributes:

Attribute name Functionality
value Specify whether concurrent access is allowed (READ) or not allowed (WRITE) when you access business methods.

Details of each attribute are as follows:

(a) value attribute

Type
LockType

Description
Specify whether access is allowed (READ) or not allowed (WRITE) when you access business methods.

Default value
WRITE