public class JavaNamespaceSetup extends Object implements SetupAction
java:
contextsConstructor and Description |
---|
JavaNamespaceSetup(NamespaceContextSelector namespaceSelector,
org.jboss.msc.service.ServiceTarget serviceTarget) |
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 JavaNamespaceSetup(NamespaceContextSelector namespaceSelector, org.jboss.msc.service.ServiceTarget serviceTarget)
public int priority()
SetupAction
priority
in interface SetupAction
public Set<org.jboss.msc.service.ServiceName> dependencies()
SetupAction
dependencies
in interface SetupAction
public void setup(Map<String,Object> properties)
SetupAction
#teardown()
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.