[java-identity-provider COMMIT] /trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java

noreply at shibboleth.net noreply at shibboleth.net
Sat Jun 14 06:03:52 EDT 2014


Author: rdw
Date: Sat Jun 14 06:03:51 2014
New Revision: 6084

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6084&view=rev
Log:
Set last reloaded date even if the the servuce is non realoding.  This allows consumers to know if things move under their feet.

Modified:
    trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java

Modified: trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java?rev=6084&r1=6083&r2=6084&view=diff
==============================================================================
--- trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java (original)
+++ trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractReloadableService.java Sat Jun 14 06:03:51 2014
@@ -170,6 +170,7 @@
         log.info("{} Performing initial load", getLogPrefix());
         try {
             doReload();
+            lastSuccessfulReleaseIntant = new DateTime(ISOChronology.getInstanceUTC());
         } catch (ServiceException e) {
             if (isFailFast()) {
                 throw new ComponentInitializationException(getLogPrefix() + " could not perform initial load", e);



More information about the commits mailing list