public enum Scope extends Enum<Scope>
PER_VM
.Enum Constant and Description |
---|
PER_CLASS
An instance of the aspect will be created for each advised class.
|
PER_CLASS_JOINPOINT
An instance of the aspect will be created for each advised joinpoint.
|
PER_INSTANCE
An instance of the aspect will be created for each advised instance.
|
PER_JOINPOINT
An instance of the aspect will be created for each advised joinpoint execution.
|
PER_VM
A single instance of the aspect will be created to intercept any joinpoints
during the Java VM execution.
|
Modifier and Type | Method and Description |
---|---|
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope PER_VM
public static final Scope PER_CLASS
public static final Scope PER_INSTANCE
public static final Scope PER_JOINPOINT
public static final Scope PER_CLASS_JOINPOINT
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.