public class ContextManager extends Object
SetupAction
s. If setup(java.util.Map)
completes
successfully then teardown(java.util.Map)
must be called.Modifier and Type | Method and Description |
---|---|
void |
setup(Map<String,Object> properties)
Sets up the contexts.
|
void |
teardown(Map<String,Object> properties)
Tears down the contexts.
|
public void setup(Map<String,Object> properties)
public void teardown(Map<String,Object> properties)
SetupAction
it is wrapped and re-thrown after all
SetupAction.teardown(java.util.Map)
methods have been called.
Contexts are torn down in the opposite order to which they are set up (i.e. the first context set up is the last to be torn down).
If more than one teardown() method thrown an exception then only the first is propagated.
Copyright © 2016 JBoss by Red Hat. All rights reserved.