net.openwings.install
Interface Voter
- public interface Voter
This interface describes a callback that may be registered by components
that wish to be consulted before a component is uninstalled.
Components register voters by calling the
Installer.addInstallListener() method.
|
Method Summary |
boolean |
vote(InstallableComponentDescriptor InstallableComponentDescriptor)
The Installer implementation invokes this method
whenever a component uninstall is requested. |
vote
public boolean vote(InstallableComponentDescriptor InstallableComponentDescriptor)
throws java.rmi.RemoteException
- The
Installer implementation invokes this method
whenever a component uninstall is requested.
Returning true is a vote for the uninstall and returning false is a
vote against the uninstall.
- Returns:
true to vote for, false to vote against.
- Throws:
java.rmi.RemoteException - for communication errors