service DatabaseAccessContext in module com::sun::star::sdb:: |
service DatabaseAccessContext;
is the context for data access beans. It allows to register aliases for database access beans. It is possible to have different aliases for different locales.
A DatabaseContext stores an alias for the URL of a database access component for a given locale. It is also allowed to work with a default locale. This is useful in connection with Enumeration or NameAccess to the context. In common use, the default language is set during the initialization of the component.
The service also provides a default handling for locales, where an alias isn't set. The first time an alias is registered for a programmatic name, the alias becomes the default for all other known locales.
Exported Interfaces |
Enumeration on all registered data sources for a default locale.
NameAccess on all registered data sources for a default locale.
Interface for registering aliases for data sources.
Interface for setting and retrieving the default language.
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.