@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface MixInDependencies
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends TestMixIn>[] |
optional
A list of mixins which should be initialized before the annotated mixin does
if they will be used.
|
Class<? extends TestMixIn>[] |
required
A list of mixins which must be initialized before the annotated mixin does.
|
public abstract Class<? extends TestMixIn>[] required
SwitchYardTestCaseConfig
annotation.public abstract Class<? extends TestMixIn>[] optional
SwitchYardTestCaseConfig
annotation.
This option can be used to handle the case like that - the MixInA doesn't always need
MixInB, but when we use MixInA and MixInB together, MixInB should be initialized first.
In this case the MixInA should have a optional dependency on MixInB.Copyright © 2013–2016 JBoss by Red Hat. All rights reserved.