public class TransactionRollbackSetupAction extends Object implements SetupAction, org.jboss.msc.service.Service<TransactionRollbackSetupAction>
| Constructor and Description |
|---|
TransactionRollbackSetupAction(org.jboss.msc.service.ServiceName serviceName) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.jboss.msc.service.ServiceName> |
dependencies()
Any dependencies that this action requires
|
org.jboss.msc.value.InjectedValue<TransactionManager> |
getTransactionManager() |
TransactionRollbackSetupAction |
getValue() |
int |
priority()
Higher priority setup actions run first
|
void |
setup(Map<String,Object> properties)
Sets up the context.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
teardown(Map<String,Object> properties)
Tears down the context that was set up and restores the previous context state.
|
public TransactionRollbackSetupAction(org.jboss.msc.service.ServiceName serviceName)
public void setup(Map<String,Object> properties)
SetupActionSetupAction.teardown(java.util.Map) method will not be called, so this
method should be implmeneted in an atomic manner.setup in interface SetupActionpublic void teardown(Map<String,Object> properties)
SetupActionteardown in interface SetupActionpublic int priority()
SetupActionpriority in interface SetupActionpublic Set<org.jboss.msc.service.ServiceName> dependencies()
SetupActiondependencies in interface SetupActionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<TransactionRollbackSetupAction>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<TransactionRollbackSetupAction>public TransactionRollbackSetupAction getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<TransactionRollbackSetupAction>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.value.InjectedValue<TransactionManager> getTransactionManager()
Copyright © 2014 JBoss by Red Hat. All rights reserved.