public class ContextManagerBuilder extends Object
ContextManager
Constructor and Description |
---|
ContextManagerBuilder() |
Modifier and Type | Method and Description |
---|---|
ContextManagerBuilder |
add(SetupAction action)
Adds a
SetupAction to the builder. |
ContextManagerBuilder |
addAll(DeploymentUnit deploymentUnit) |
ContextManager |
build() |
public ContextManagerBuilder add(SetupAction action)
SetupAction
to the builder. This action will be run by the ContextManager
in the order it was
added to the builder.action
- The SetupAction
to add to the builderpublic ContextManagerBuilder addAll(DeploymentUnit deploymentUnit)
public ContextManager build()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.