Package com.sun.enterprise.transaction
Class TransactionServiceConfigListener
- java.lang.Object
-
- com.sun.enterprise.transaction.TransactionServiceConfigListener
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct,ConfigListener
@Service public class TransactionServiceConfigListener extends Object implements ConfigListener, org.glassfish.hk2.api.PostConstruct
ConfigListener class for TransactionService and TransactionService monitoring level changes- Author:
- Marina Vatkina
-
-
Constructor Summary
Constructors Constructor Description TransactionServiceConfigListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessedChangeEventschanged(PropertyChangeEvent[] events)Notification that @Configured objects that were injected have changedvoidpostConstruct()voidsetTM(JavaEETransactionManager tm)Clears the transaction associated with the caller thread
-
-
-
Method Detail
-
setTM
public void setTM(JavaEETransactionManager tm)
Clears the transaction associated with the caller thread
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
Description copied from interface:ConfigListenerNotification that @Configured objects that were injected have changed- Specified by:
changedin interfaceConfigListener- Parameters:
events- list of changes- Returns:
- the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
-
-