01: /*
02: * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.instance.sra;
07:
08: //
09:
10: import com.sun.portal.config.context.IdentityPropertyContext;
11: import com.sun.portal.config.context.SRAFileContext;
12: import com.sun.portal.config.context.SRAPropertyContext;
13:
14: import java.io.IOException;
15:
16: //
17:
18: public interface Instance {
19: public Boolean setName(String instanceName);
20:
21: public SRAPropertyContext getSRAPropertyContext();
22:
23: public SRAFileContext getSRAFileContext();
24:
25: public Boolean updateConfigurationFile(IdentityPropertyContext ipc,
26: SRAPropertyContext spc, String propertiesHeader);
27:
28: public Boolean create() throws IOException;
29:
30: public Boolean remove() throws IOException;
31:
32: public String[] list() throws IOException;
33: }
|