Lloyd Chambers wrote on 10/30/09 16:08:
> It's already a service. I've added serverRequiresRestart() as a
> convenience.
>
> @Service
> @Async
> public final class UnprocessedConfigListener implements Startup,
> PostConstruct, TransactionListener {
> ...
>
> public boolean serverRequiresRestart() { ... }
> }
>
> BILL, all you have to do is:
> @Inject
> UnprocessedConfigListener unprocessedConfigListener;
>
> boolean requiresRestart =
> unprocessedConfigListener.serverRequiresRestart();
Cool. Let me run with that...