org.multiverse.annotations
Annotation Type Exclude


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Exclude

The Exclude annotation can be used for the following purposes:

  1. Can be placed on a field of an TransactionalObject to exclude it from being managed by the STM. So this field is for the STM completely invisible; as if it doesn't exist.
  2. Can be placed on a instance method of a TransactionalObject to exclude it from being transactional.

Author:
Peter Veentjer



Copyright © 2008-2010 Multiverse. All Rights Reserved.