public class WeldContextSetup extends Object implements SetupAction
Constructor and Description |
---|
WeldContextSetup() |
Modifier and Type | Method and Description |
---|---|
Set<org.jboss.msc.service.ServiceName> |
dependencies()
Any dependencies that this action requires
|
int |
priority()
Higher priority setup actions run first
|
void |
setup(Map<String,Object> properties)
Sets up the context.
|
void |
teardown(Map<String,Object> properties)
Tears down the context that was set up and restores the previous context state.
|
public void setup(Map<String,Object> properties)
SetupAction
SetupAction.teardown(java.util.Map)
method will not be called, so this
method should be implmeneted in an atomic manner.setup
in interface SetupAction
public void teardown(Map<String,Object> properties)
SetupAction
teardown
in interface SetupAction
public Set<org.jboss.msc.service.ServiceName> dependencies()
SetupAction
dependencies
in interface SetupAction
public int priority()
SetupAction
priority
in interface SetupAction
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.