|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.server.S_LibraryService
S_LibraryService is the iFS repository service.
An S_LibraryService hosts one or more user sessions, S_LibrarySessions. In addition to performing session management, the service provides a set of subservices shared by the sessions.
A Java VM can have one or more S_LibraryServices, each identified by a unique name. In establishing a connection, the user specifies the name of the desired service.
Application developers rarely need to operate on S_LibraryService.
However, a reference to the service can be obtained by invoking the
getService
method of S_LibrarySession.
Method Summary | |
java.lang.Long |
getId()
Gets the id of this S_LibraryService. |
long |
getSchemaVersionNumber()
Gets the schema version as a long. |
java.lang.String |
getSchemaVersionString()
Gets the schema version as a string. |
boolean |
getServerProperty(java.lang.String key,
boolean defaultValue)
Gets the boolean value of the specified key from the service properties file. |
int |
getServerProperty(java.lang.String key,
int defaultValue)
Gets the integer value of the specified key from the service properties file. |
java.lang.String |
getServerProperty(java.lang.String key,
java.lang.String defaultValue)
Gets the string value of the specified key from the service properties file. |
TraceLogger |
getTraceLogger()
Gets the TraceLogger of this S_LibraryService. |
static long |
getVersionNumber()
Gets the version of this S_LibraryService as a long. |
static java.lang.String |
getVersionString()
Gets the version of this S_LibraryService as a string. |
boolean |
isTraced(int channel,
int level)
Gets whether tracing is enabled for the specified channel and level. |
void |
trace(int channel,
int level,
java.lang.String payload)
Issues a trace request to the trace logger. |
Method Detail |
public java.lang.Long getId() throws IfsException
IfsException
- if the operation failspublic static final java.lang.String getVersionString() throws IfsException
IfsException
- if the operation failspublic static final long getVersionNumber() throws IfsException
IfsException
- if the operation failspublic final java.lang.String getSchemaVersionString() throws IfsException
IfsException
- (IFS-20001) if the operation failspublic final long getSchemaVersionNumber() throws IfsException
IfsException
- (IFS-20001) if the operation failspublic java.lang.String getServerProperty(java.lang.String key, java.lang.String defaultValue) throws IfsException
key
- the property namedefaultValue
- the default valueIfsException
- if the operation failspublic boolean getServerProperty(java.lang.String key, boolean defaultValue) throws IfsException
key
- the property namedefaultValue
- the default valueIfsException
- if the operation failspublic int getServerProperty(java.lang.String key, int defaultValue) throws IfsException
key
- the property namedefaultValue
- the default valueIfsException
- if the operation failspublic final TraceLogger getTraceLogger() throws IfsException
getTraceLogger
in interface Traceable
IfsException
- if the operation failspublic final boolean isTraced(int channel, int level) throws IfsException
isTraced
in interface Traceable
channel
- the channel numberlevel
- the levelIfsException
- (IFS-11201) if the channel is invalidpublic final void trace(int channel, int level, java.lang.String payload)
trace
in interface oracle.ifs.server.DatabaseService
channel
- the channel numberlevel
- the levelpayload
- a string containing any additional information to
be placed in the trace log
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |