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 UnprocessedChangeEvents
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changedvoid
postConstruct()
void
setTM(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:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
Description copied from interface:ConfigListener
Notification that @Configured objects that were injected have changed- Specified by:
changed
in interfaceConfigListener
- Parameters:
events
- list of changes- Returns:
- the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
-
-