|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.common.ConnectOptions
ConnectOptions is a bucket of parameters that govern
the behavior of LibraryService.connect
.
Constructor Summary | |
ConnectOptions()
Constructs a ConnectOptions. |
Method Summary | |
java.util.Locale |
getLocale()
Gets the Locale of the new session. |
java.lang.String |
getServiceName()
Gets the name of the service to which to connect. |
java.lang.String |
getServicePassword()
Gets the service password. |
void |
setLocale(java.util.Locale locale)
Sets the Locale of the new session. |
void |
setServiceName(java.lang.String serviceName)
Sets the name of the service to which to connect. |
void |
setServicePassword(java.lang.String servicePassword)
Sets the service password. |
Constructor Detail |
public ConnectOptions() throws IfsException
IfsException
- if the operation failsMethod Detail |
public void setServiceName(java.lang.String serviceName) throws IfsException
serviceName
- the service nameIfsException
- if the operation failspublic java.lang.String getServiceName() throws IfsException
IfsException
- if the operation failspublic void setServicePassword(java.lang.String servicePassword) throws IfsException
The service password is the password of the database schema containing the IFS database objects, and is needed only when connecting to a local (in-process) service that is not already running. If unspecified, the service attempts to connect to the database using the schema name (obtained from the service's properties file) as the schema password.
servicePassword
- the service passwordIfsException
- if the operation failspublic java.lang.String getServicePassword() throws IfsException
IfsException
- if the operation failspublic void setLocale(java.util.Locale locale) throws IfsException
locale
- the LocaleIfsException
- if the operation failspublic java.util.Locale getLocale() throws IfsException
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |