01: package com.sun.portal.fabric.upgrade;
02:
03: import java.io.File;
04:
05: public interface PortalServerUpgrade {
06:
07: public void init(File passwordFile) throws UpgradeException;
08:
09: public void log(String message);
10:
11: public void destroy();
12:
13: public void preupgrade() throws UpgradeException;
14:
15: public void upgrade() throws UpgradeException;
16:
17: public void postupgrade() throws UpgradeException;
18:
19: //Any key value that might be required by Implementation class.
20: void setProperty(String key, String value);
21: }
|