@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public static @interface Env.RequireMode
Used to mark a dependency injector module that should be load only in specified mode
This annotation shall NOT used along with Env.RequireProfile
and Env.RequireGroup
Modifier and Type | Required Element and Description |
---|---|
Act.Mode |
value
The mode specification
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
except
If
except is true then the module should be load when the current mode is NOT the value specified |
public abstract Act.Mode value
The mode specification
Copyright © 2014–2017 ActFramework. All rights reserved.