Class: com.sybase.djc.ant.SynchronizedProperty (Synchronized Property) | EAServer 6.3 Help |
---|
Description | Synchronizes access to a method, or if the method is not specified, all methods of a component. Synchronization ensures that at most one thread at a time can call the method(s). |
---|---|
Configuration |
Example:
<setProperties component="ejb.components.example.MyCompRemote"> <synchronized method="updateCache(java.lang.String)" synchronizedObject="ejb.components.example.MyCacheRemote.class"/> </setProperties> |
Nested Properties | method, synchronizedObject |
Property: method (Method) | |
---|---|
Description | Name and signature of method for method-specific application of this property, e.g. "myMethod(int, java.lang.String)". |