1 23 package com.sun.appserv.management.client.prefs; 24 import java.util.Collection ; 25 26 36 public interface LoginInfoStore { 37 38 48 public LoginInfo read(final String host, final int port) throws StoreException; 49 50 61 public void remove(final String host, final int port) throws StoreException; 62 63 72 public void store(final LoginInfo login) throws StoreException; 73 74 86 public void store(final LoginInfo login, final boolean overwrite) throws StoreException; 87 88 94 public boolean exists(final String host, final int port) throws StoreException; 95 96 102 public Collection <LoginInfo> list() throws StoreException; 103 104 110 public int size() throws StoreException; 111 112 115 public String getName(); 116 } | Popular Tags |