Package org.glassfish.internal.config
Class UnprocessedConfigListener
- java.lang.Object
-
- org.glassfish.internal.config.UnprocessedConfigListener
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct
,TransactionListener
@Service @RunLevel(value=20, mode=0) public final class UnprocessedConfigListener extends Object implements org.glassfish.hk2.api.PostConstruct, TransactionListener
Listens for unprocessed config changes
-
-
Constructor Summary
Constructors Constructor Description UnprocessedConfigListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UnprocessedChangeEvents>
getUnprocessedChangeEvents()
void
postConstruct()
boolean
serverRequiresRestart()
void
transactionCommited(List<PropertyChangeEvent> changes)
Notification of a transaction with the list of property changes.void
unprocessedTransactedEvents(List<UnprocessedChangeEvents> changes)
Nofication of unprocessed events by ConfigListener, usually requiring a server restart.
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
transactionCommited
public void transactionCommited(List<PropertyChangeEvent> changes)
Description copied from interface:TransactionListener
Notification of a transaction with the list of property changes.- Specified by:
transactionCommited
in interfaceTransactionListener
-
unprocessedTransactedEvents
public void unprocessedTransactedEvents(List<UnprocessedChangeEvents> changes)
Description copied from interface:TransactionListener
Nofication of unprocessed events by ConfigListener, usually requiring a server restart.- Specified by:
unprocessedTransactedEvents
in interfaceTransactionListener
-
serverRequiresRestart
public boolean serverRequiresRestart()
-
getUnprocessedChangeEvents
public List<UnprocessedChangeEvents> getUnprocessedChangeEvents()
-
-