com.kuka.task.properties
Annotation Type LockUsedResources


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface LockUsedResources

A task using this annotation will have all its used resources being locked during initialization. This includes resources used indirectly via a facade. Resources locked in this way can be unlocked and locked again normally.

If locking of any resource fails because the lock cannot be obtained then task initialization will fail.



Copyright © 2019. All rights reserved.