| org.griphyn.common.catalog.Catalog
Catalog | public interface Catalog (Code) | | This interface create a common ancestor for all cataloging
interfaces.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 83 $ |
Method Summary | |
public void | close() Explicitely free resources before the garbage collection hits. | public boolean | connect(Properties props) Establishes a link between the implementation and the thing the
implementation is build upon. | public boolean | isClosed() Predicate to check, if the connection with the catalog's
implementation is still active. |
DB_ALL_PREFIX | final public static String DB_ALL_PREFIX(Code) | | The default DB Driver properties prefix.
|
close | public void close()(Code) | | Explicitely free resources before the garbage collection hits.
|
connect | public boolean connect(Properties props)(Code) | | Establishes a link between the implementation and the thing the
implementation is build upon.
FIXME: The cause for failure is lost without exceptions.
Parameters: props - contains all necessary data to establish the link. true if connected now, or false to indicate a failure. |
isClosed | public boolean isClosed()(Code) | | Predicate to check, if the connection with the catalog's
implementation is still active. This helps determining, if it makes
sense to call close() .
true, if the implementation is disassociated, false otherwise. See Also: Catalog.close() |
|
|