public class UserTransactionRegistry extends Object
Constructor and Description |
---|
UserTransactionRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(UserTransactionListener listener)
Add a listener
|
void |
addProvider(UserTransactionProvider provider)
Add a provider
|
void |
removeListener(UserTransactionListener listener)
Remove a listener
|
void |
removeProvider(UserTransactionProvider provider)
Remove a provider
|
void |
userTransactionStarted()
Fire a user transaction started event
|
public void addListener(UserTransactionListener listener)
listener
- the listenerIllegalArgumentException
- for a null listenerpublic void removeListener(UserTransactionListener listener)
listener
- the listenerIllegalArgumentException
- for a null listenerpublic void addProvider(UserTransactionProvider provider)
provider
- the providerIllegalArgumentException
- for a null providerpublic void removeProvider(UserTransactionProvider provider)
provider
- the providerIllegalArgumentException
- for a null providerpublic void userTransactionStarted()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.