@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Deprecated
public static @interface Env.Profile
Used to mark a dependency injector module that should be load only in specified profile.
This annotation shall NOT used along with Env.Mode
and Env.Group
This annotation is deprecated. Please use Env.RequireProfile
instead
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Deprecated.
The profile specification
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
unless
Deprecated.
If unless is
true then the module should be load unless the current profile is the value specified |
Copyright © 2014–2017 ActFramework. All rights reserved.