org.jboss.tm.usertx
Class UserTransactionRegistry

java.lang.Object
  extended by org.jboss.tm.usertx.UserTransactionRegistry

public class UserTransactionRegistry
extends Object

UserTransactionRegistry.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
UserTransactionRegistry()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTransactionRegistry

public UserTransactionRegistry()
Method Detail

addListener

public void addListener(UserTransactionListener listener)
Add a listener

Parameters:
listener - the listener
Throws:
IllegalArgumentException - for a null listener

removeListener

public void removeListener(UserTransactionListener listener)
Remove a listener

Parameters:
listener - the listener
Throws:
IllegalArgumentException - for a null listener

addProvider

public void addProvider(UserTransactionProvider provider)
Add a provider

Parameters:
provider - the provider
Throws:
IllegalArgumentException - for a null provider

removeProvider

public void removeProvider(UserTransactionProvider provider)
Remove a provider

Parameters:
provider - the provider
Throws:
IllegalArgumentException - for a null provider

userTransactionStarted

public void userTransactionStarted()
Fire a user transaction started event



Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.