public interface SetupAction
Implementations need to be thread safe, as multiple threads can be setting up and tearing down contexts at any given time
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.
|
void setup(Map<String,Object> properties)
teardown(java.util.Map)
method will not be called, so this
method should be implmeneted in an atomic manner.void teardown(Map<String,Object> properties)
int priority()
Set<org.jboss.msc.service.ServiceName> dependencies()
Copyright © 2023 JBoss by Red Hat. All rights reserved.