org.kuali.rice.kew.plugin
Interface Reloadable

All Known Implementing Classes:
PluginEnvironment

public interface Reloadable

An interface representing an Entity that can be reloaded. Calls to reload should only be executed if this Reloadable has flagged itself as reloadable according to the isReloadable() method.

If invocations of isReloadable() return false then calls to reload() should be no-ops.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 boolean isReloadable()
          Indicates whether or not this Reloadable currently supports being reloaded.
 boolean isReloadNeeded()
           
 void reload()
          Reloads the Reloadable.
 

Method Detail

isReloadable

boolean isReloadable()
Indicates whether or not this Reloadable currently supports being reloaded. If this method returns false then calls to reload() are effectively no-ops.

Returns:
true if this Reloadable can be reloaded, false otherwise

isReloadNeeded

boolean isReloadNeeded()

reload

void reload()
            throws Exception
Reloads the Reloadable. If isReloadable() returns false then this method should be a no-op.

Throws:
Exception


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.