public class S_LibraryService extends Object implements IfsEventHandler, Traceable, LibraryConstants
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.
Modifier and Type | Field and Description |
---|---|
static String |
DBMS_AUDIT_TABLENAME_PREFIX
The database object prefix for audit tablenames.
|
protected static String |
DBMS_BASESECUREVIEWNAME_PREFIX
The database object prefix for base-secure views.
|
protected static String |
DBMS_BASEVIEWNAME_PREFIX
The database object prefix for the base view (admin mode
access against PublicObjects with no delete filtering).
|
protected static String |
DBMS_INDEXNAME_PREFIX
The database object prefix for indexes.
|
protected static String |
DBMS_SECUREVIEWNAME_PREFIX
The database object prefix for secure views.
|
static String |
DBMS_TABLENAME_PREFIX
The database object prefix for tablenames.
|
protected static String |
DBMS_UNDELETED_SECUREVIEWNAME_PREFIX
The database object prefix for secure undeleted-only views.
|
protected static String |
DBMS_UNDELETED_VIEWNAME_PREFIX
The database object prefix for undeleted-only views.
|
static String |
DBMS_VIEWNAME_PREFIX
The database object prefix for views.
|
protected static String |
REPOS_PARAM_AUDITING_ENABLED_KEY
The repository parameter key that indicates whether auditing is enabled.
|
static String |
SERVICE_REGISTRY_ACL_INDEX_SERVICE
The AccessControlListIndexService.
|
static String |
SERVICE_REGISTRY_ACL_PROXY_SERVICE
The AccessControlListProxyService.
|
static String |
SERVICE_REGISTRY_ACL_RESOLVER_SERVICE
The AccessControlListDiscoverAccessService.
|
static String |
SERVICE_REGISTRY_DIRECTORY_SERVICE
The DirectoryService.
|
static String |
SERVICE_REGISTRY_EVENT_EXCHANGER
The S_LibraryServiceEventExchanger.
|
static String |
SERVICE_REGISTRY_FOLDER_INDEX_SERVICE
The FolderIndexService.
|
static String |
SERVICE_REGISTRY_GROUP_INDEX_SERVICE
The GroupIndexService.
|
static String |
SERVICE_REGISTRY_READONLY_CONNECTION_POOL
The readonly ConnectionPool.
|
static String |
SERVICE_REGISTRY_WRITEABLE_CONNECTION_POOL
The writeable ConnectionPool.
|
ARRAYVALUES_TABLENAME_PREFIX, AUDIT_EVENT_COLUMN_APPLICATIONCONTEXT, AUDIT_EVENT_COLUMN_APPLICATIONUSER, AUDIT_EVENT_COLUMN_AUXILIARYNUMBER, AUDIT_EVENT_COLUMN_AUXILIARYSTRING, AUDIT_EVENT_COLUMN_CREATEDATE, AUDIT_EVENT_COLUMN_CREATORID, AUDIT_EVENT_COLUMN_DOMAINID, AUDIT_EVENT_COLUMN_ID, AUDIT_EVENT_COLUMN_OPERATIONSUCCEEDED, AUDIT_EVENT_COLUMN_OPERATIONTYPE, AUDIT_EVENT_COLUMN_TARGETOBJECTID, AUDIT_SPECIFICATION_CUSTOM, AUDIT_SPECIFICATION_GLOBAL, AUDIT_SPECIFICATION_OBJECT, AUDIT_SUCCESS_MODE_FAILURE_ONLY, AUDIT_SUCCESS_MODE_NONE, AUDIT_SUCCESS_MODE_SUCCESS_ONLY, AUDIT_SUCCESS_MODE_SUCCESS_OR_FAILURE, AUDIT_TABLENAME_PREFIX, CAPABILITY_ADDITEM, CAPABILITY_ADDMEMBER, CAPABILITY_ADDRELATIONSHIP, CAPABILITY_ADDVERSION, CAPABILITY_ADDVERSIONSERIES, CAPABILITY_ADMINISTER_CATEGORY, CAPABILITY_ADMINISTER_CONFIGURATION, CAPABILITY_ADMINISTER_CONTAINER, CAPABILITY_ADMINISTER_DOMAIN, CAPABILITY_ADMINISTER_LOCK, CAPABILITY_ADMINISTER_QUOTA, CAPABILITY_ADMINISTER_RECORD, CAPABILITY_ADMINISTER_ROLE, CAPABILITY_ADMINISTER_SECURITY, CAPABILITY_ADMINISTER_USER, CAPABILITY_ADMINISTER_WORKSPACE, CAPABILITY_COPY, CAPABILITY_CREATECONTAINER, CAPABILITY_CREATEFOLDER, CAPABILITY_CREATEWORKSPACE, CAPABILITY_DELETE, CAPABILITY_DISCOVER, CAPABILITY_GET_CONTENT, CAPABILITY_GETAUDITHISTORY, CAPABILITY_GETMETADATA, CAPABILITY_GETRELATION, CAPABILITY_LOCK, CAPABILITY_MOVE, CAPABILITY_REMOVEITEM, CAPABILITY_REMOVEMEMBER, CAPABILITY_REMOVERELATIONSHIP, CAPABILITY_REMOVEVERSIONSERIES, CAPABILITY_SET_ATTR, CAPABILITY_SET_CONTENT, CAPABILITY_SETMETADATA, CAPABILITY_SETRELATION, DEFINITIONSETTINGPOLICY_STANDARD, EXCEPTION_INFO_AGGREGATE_ENTRIES, EXCEPTION_INFO_CONFLICTING_OBJECT_ID, EXCEPTION_INFO_DESCRIPTION_MAP, EXCEPTION_INFO_LIMIT, EXCEPTION_INFO_OBJECT_ID, EXCEPTION_INFO_PARAMETER_NAME, FLAG_ACTIVITYRECORD_EXISTS, FLAG_ACTOR_EXISTS, FLAG_ATTACHMENTRELATION_EXISTS, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MESSAGELIST_EXISTS, IFS_ATTRIBUTEPROPERTY_COMMONNAME, IFS_ATTRIBUTEPROPERTY_DEFINITIONSETTINGPOLICY, IFS_ATTRIBUTEPROPERTY_MULTIVALUETABLESUFFIX, IFS_ATTRIBUTEPROPERTY_STANDARDSIMPLEPROPERTYARRAY, IFS_CLASSPROPERTY_CATEGORY_ALLOWMULTIPLEINSTANCES, IFS_CLASSPROPERTY_CATEGORY_FLAGBIT, IFS_CLASSPROPERTY_COMMONNAME, IFS_CLASSPROPERTY_CONTENTSEARCHVIEWNAME, IFS_CLASSPROPERTY_DEFINITIONCLASSNAME, IFS_CLASSPROPERTY_INSTALLEDCLASS, IFS_DOMAIN_ACCESSCONTROLLIST_BYPASSNAMEUNIQUENESSCHECK, IFS_DOMAIN_ACCESSCONTROLLIST_COMPOSITEACLSUPPORTED, IFS_DOMAIN_ACLINDEX_EVENTTARGET, IFS_DOMAIN_ACTIVITY_CURRENTACTIVITYEVENTHISTORY, IFS_DOMAIN_ACTIVITY_CURRENTPERFORMEDACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_CURRENTTRACKEDACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_DEFAULTACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_DELETERECORDSUPONACTIVITYRECORDFREE, IFS_DOMAIN_APPLICATION_INITIALIZERCLASSNAME, IFS_DOMAIN_AUDIT_AUDITINGENABLED, IFS_DOMAIN_AUDITING_GLOBALAUDITEVENTEXPIRATIONPERIOD, IFS_DOMAIN_AUDITING_GLOBALAUDITTYPELIST, IFS_DOMAIN_AUDITRULEEVALUATORCLASS, IFS_DOMAIN_CONFIGURATIONCATEGORYDESCRIPTORMAPCLASSNAME, IFS_DOMAIN_CONTENTVAULTENTRY_ENCRYPTIONCIPHERCOUNT, IFS_DOMAIN_CONTROLLERSTATE_SINGLETON, IFS_DOMAIN_CREDENTIALMANAGER_ANONYMOUSUSER, IFS_DOMAIN_CREDENTIALMANAGER_ANONYMOUSUSERNAME, IFS_DOMAIN_CREDENTIALMANAGER_AUTOUSERPROVISIONINGENABLED, IFS_DOMAIN_CREDENTIALMANAGER_IDM, IFS_DOMAIN_CREDENTIALMANAGER_IDM_COUNT_LIMIT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_EXTERNALLY_SUPPORTED_ATTRIBUTES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_DIRECTORY_VENDOR, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_MEMBER_ATTRIBUTES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_NAME_ATTRIBUTE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_OBJECT_CLASSES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_SEARCHBASES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_HOST, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_PORT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_SSL_ENABLED, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_NAME_ATTRIBUTE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_OBJECT_CLASSES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_SEARCHBASES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_PAGE_SIZE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_SECURITY_PROVIDER_TYPE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_TIME_LIMIT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_XML_FILE_PATH, IFS_DOMAIN_CREDENTIALMANAGER_IDM_XML_REALM, IFS_DOMAIN_CREDENTIALMANAGER_IDMENABLED, IFS_DOMAIN_DEFAULT_TIMEZONE_STRING, IFS_DOMAIN_DEFAULTTEMPDIRECTORY, IFS_DOMAIN_DEFAULTWINDOWSTEMPDIRECTORY, IFS_DOMAIN_DEFINITIONCLONINGREQUIRED, IFS_DOMAIN_DIRECTORYGROUP_BYPASSNAMEUNIQUENESSCHECK, IFS_DOMAIN_DIRECTORYGROUP_GROUPMEMBERSHIPCACHEMEMBERUSESARRAYINPUTS, IFS_DOMAIN_DIRECTORYGROUP_MEMBERTHRESHOLD, IFS_DOMAIN_DIRECTORYOBJECT_ANCESTORTHRESHOLD, IFS_DOMAIN_DIRECTORYOBJECT_GROUPMEMBERSHIPCACHEANCESTORUSESARRAYINPUTS, IFS_DOMAIN_DOCUMENT_DEFINITIONOBJECTEXPIRATIONPERIOD, IFS_DOMAIN_DOCUMENT_OWNERHASREADSUPPORTED, IFS_DOMAIN_EXTRACTION_DEFAULTINFORMATIONEXTRACTIONSPECIFICATION, IFS_DOMAIN_FDKCONFIGURATIONCLASS, IFS_DOMAIN_FOLDERINDEX_EVENTTARGET, IFS_DOMAIN_LIBRARYOBJECT_AUDITSPECIFICATION_GLOBALAUDITHISTORY, IFS_DOMAIN_LIBRARYOBJECT_AUDITSPECIFICATION_OBJECTAUDITHISTORY, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSPRIVATE, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSPUBLIC, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSRESTRICTCREATION, IFS_DOMAIN_LIBRARYOBJECT_MEDIA_DEFAULTCONTENTMEDIA, IFS_DOMAIN_LIBRARYOBJECT_MEDIA_NONCONTENTMEDIA, IFS_DOMAIN_LIBRARYOBJECT_NODECONFIGURATION_DEFAULTNODECONFIGURATION, IFS_DOMAIN_LIBRARYOBJECT_SERVICECONFIGURATION_DEFAULTSERVICECONFIGURATION, IFS_DOMAIN_LIBRARYOBJECT_STORAGEGROUP_DEFAULTSTORAGEGROUP, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PRIVATE, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PUBLIC, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PUBLISHED, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMLOCKOBJECT_SYSTEMHARDLOCK, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMLOCKOBJECT_SYSTEMSOFTLOCK, IFS_DOMAIN_LOCALIZER_DEFAULTEXTENDEDRESOURCEBUNDLENAMES, IFS_DOMAIN_LOCKOBJECT_ENABLED, IFS_DOMAIN_LOOKUP_CLUSTERING_PROPERTIES, IFS_DOMAIN_LOOKUP_CUSTOMLOCKTYPES, IFS_DOMAIN_LOOKUP_ORACLELOCKTYPES, IFS_DOMAIN_LOOKUP_SORTOBJECTCOLLECTION, IFS_DOMAIN_OIDCREDENTIALMANAGERAGENT_SUBSCRIBERS, IFS_DOMAIN_OPERATIONACTIONSPECIFICATION_GLOBALLIST, IFS_DOMAIN_OPERATIONACTIONSPECIFICATION_TEMPORARILYDEACTIVATED, IFS_DOMAIN_PROPERTYBUNDLE_NAME, IFS_DOMAIN_PROTOCOLS_DAV_COPYMOVETHROUGHFOLDERLINKENABLED, IFS_DOMAIN_PROTOCOLS_DAV_NULLRESOURCELOCKEXPIRATIONPERIOD, IFS_DOMAIN_PROTOCOLS_DAV_USERAGENTS, IFS_DOMAIN_RANDOMACCESSOR_EXPIRATIONPERIOD, IFS_DOMAIN_SEARCH_ATTEMPTCONTEXTSEARCHREWRITE, IFS_DOMAIN_SECURITY_SYNCHRONOUSSECURITYREFRESHENABLED, IFS_DOMAIN_SHAREDSTATEFACTORY, IFS_DOMAIN_UPGRADEINPROGRESS, IFS_DOMAIN_WORKFLOW_BPEL_CREATIONENABLED, IFS_DOMAIN_WORKFLOW_BPEL_WORKLISTURL, IFS_DOMAIN_WORKFLOW_ENABLED, IFS_DOMAIN_WORKFLOW_SCHEMANAME, IFS_DOMAIN_WS_CLEARTEXTAUTHENTICATIONREQUIRESHTTPS, IFS_HANDLER_PROPERTY_BASETIMEOFDAY, IFS_HANDLER_PROPERTY_NOTIFIEDONEVENT, IFS_HANDLER_PROPERTY_TIMEFORMAT, IFS_HANDLER_PROPERTY_TIMERPERIOD, IFS_NODE_DISABLEDINHERITEDPROPERTYNAMES, IFS_NODE_DISABLEDINHERITEDSERVERNAMES, IFS_NODE_ENABLEDINHERITEDPROPERTYNAMES, IFS_NODE_ENABLEDINHERITEDSERVERNAMES, IFS_ORACLELOCKTYPE_KEY_CHECKOUT, IFS_ORACLELOCKTYPE_KEY_DAV, IFS_ORACLELOCKTYPE_KEY_FINALIZED, IFS_ORACLELOCKTYPE_KEY_FREEZE, IFS_ORACLELOCKTYPE_KEY_HASRECORD, IFS_ORACLELOCKTYPE_KEY_LIFECYCLE, IFS_ORACLELOCKTYPE_KEY_MANUAL, IFS_ORACLELOCKTYPE_KEY_NAMEDFREEZE, IFS_ORACLELOCKTYPE_KEY_RECORD, IFS_ORACLELOCKTYPE_KEY_RETENTION, IFS_ORACLELOCKTYPE_KEY_WORKFLOW, IFS_SERVICE_ACLCACHE_EMERGENCYTRIGGER, IFS_SERVICE_ACLCACHE_NORMALTRIGGER, IFS_SERVICE_ACLCACHE_PURGETARGET, IFS_SERVICE_ACLCACHE_SIZE, IFS_SERVICE_ACLCACHE_URGENTTRIGGER, IFS_SERVICE_AUDITCERTIFICATECACHE_PURGETARGET, IFS_SERVICE_AUDITINGENABLED, IFS_SERVICE_AUDITSTRINGCACHE_PURGETARGET, IFS_SERVICE_AURORASERVICE, IFS_SERVICE_CASESENSITIVEAUTHENTICATION, IFS_SERVICE_CHECKFORORPHANSESSIONSPERIOD, IFS_SERVICE_CLONEDSESSIONRETRYPERIOD, IFS_SERVICE_CONNECTIONPOOL_READONLY_MAXIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_MAXIMUMSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_READONLY_MINIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTCACHESIZETRIGGER, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTCACHETARGET, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTRESETLIMIT, IFS_SERVICE_CONNECTIONPOOL_READONLY_TARGETSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_TARGETSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MAXIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MAXIMUMSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MINIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTCACHESIZETRIGGER, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTCACHETARGET, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTRESETLIMIT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_TARGETSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_TARGETSIZETIMEOUT, IFS_SERVICE_CONTENTBUFFERSIZE, IFS_SERVICE_CREDENTIALMANAGER, IFS_SERVICE_CREDENTIALMANAGER_CREDENTIALNAMETOKENIZER, IFS_SERVICE_CREDENTIALMANAGER_NAMES, IFS_SERVICE_DATACACHE_EMERGENCYTRIGGER, IFS_SERVICE_DATACACHE_NORMALTRIGGER, IFS_SERVICE_DATACACHE_PURGETARGET, IFS_SERVICE_DATACACHE_SIZE, IFS_SERVICE_DATACACHE_URGENTTRIGGER, IFS_SERVICE_DEFAULTCHARACTERSET, IFS_SERVICE_DEFAULTLANGUAGE, IFS_SERVICE_EVENTEXCHANGER, IFS_SERVICE_EVENTSTATEMENTRESETLIMIT, IFS_SERVICE_GROUPMEMBERSHIPCACHEANCESTORTHRESHOLD, IFS_SERVICE_GROUPMEMBERSHIPCACHEANCESTORUSESARRAYINPUTS, IFS_SERVICE_GROUPMEMBERSHIPCACHEENABLED, IFS_SERVICE_GROUPMEMBERSHIPCACHEMEMBERTHRESHOLD, IFS_SERVICE_GROUPMEMBERSHIPCACHEMEMBERUSESARRAYINPUTS, IFS_SERVICE_JDBC_DEFAULTROWPREFETCH, IFS_SERVICE_JDBC_DRIVER, IFS_SERVICE_JDBC_DRIVERTYPE, IFS_SERVICE_JDBC_TRACINGENABLED, IFS_SERVICE_LOCKTIMEOUTPERIOD, IFS_SERVICE_MAXIMUMCLONEDSESSIONS, IFS_SERVICE_MAXIMUMCONCURRENTSESSIONS, IFS_SERVICE_MAXIMUMPOOLEDCONTENTBUFFERSPERSESSION, IFS_SERVICE_ORPHANSESSIONTIMEOUTPERIOD, IFS_SERVICE_POLLFOREVENTSFROMOTHERSERVICESPERIOD, IFS_SERVICE_QUOTACHECKFREQUENCYINBYTES, IFS_SERVICE_SERVICECONFIGURATIONNAME, IFS_SERVICE_SERVICEKEEPALIVEEVENTPERIOD, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_ISMANGEDBYSERVER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_PURGETARGET, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_SIZE, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_BEANSSESSION, IFS_SERVICE_SESSION_DATACACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_DATACACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_DATACACHE_PURGETARGET, IFS_SERVICE_SESSION_DATACACHE_SIZE, IFS_SERVICE_SESSION_DATACACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_DEFAULTSEARCHTIMEOUTPERIOD, IFS_SERVICE_SESSION_EVENTPOLLER, IFS_SERVICE_SESSION_EVENTPOLLERPERIOD, IFS_SERVICE_SESSION_FOLDERITEM_CACHING_ENABLED, IFS_SERVICE_SESSION_FOLDERPATHCACHE_ENABLED, IFS_SERVICE_SESSION_FOLDERPATHCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_FOLDERPATHCACHE_PURGETARGET, IFS_SERVICE_SESSION_FOLDERPATHCACHE_SIZE, IFS_SERVICE_SESSION_FOLDERPATHCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_PURGETARGET, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_SIZE, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_SERVERSESSION, IFS_SERVICE_SESSION_TRANSACTIONSTACKSIZE, IFS_SERVICE_SESSIONOPERATIONTIMEOUTPERIOD, IFS_SERVICE_TRACING_BEANSSESSIONTRACETYPE, IFS_SERVICE_TRACING_CHANNELCOUNT, IFS_SERVICE_TRACING_CHANNELLEVEL, IFS_SERVICE_TRACING_DEFAULTTRACELEVEL, IFS_SERVICE_TRACING_SERVERSESSIONTRACETYPE, IFS_SERVICE_TRACING_SERVICETRACETYPE, IFS_SERVICE_TRANSPORTBATCHSIZE, IFS_SERVICE_TRANSPORTEVENTSTOOTHERSERVICESPERIOD, IFS_SESSIONSTATE_APPLICATION_SESSIONID, IFS_SESSIONSTATE_AUDIT_DOMAIN_DEFAULT, IFS_SESSIONSTATE_OPERATIONS_COPYTABLE, IFS_SESSIONSTATE_OPERATIONS_FREETABLE, IFS_SESSIONSTATE_OPERATIONS_UPDATETABLE, INFORMATIONEXTRACTIONENTITYPHRASE_INDEX_PREFIX, INFORMATIONEXTRACTIONENTITYPHRASE_TABLE_PREFIX, LIBRARYOBJECT_INDEXNAME_PREFIX, LIBRARYOBJECT_TABLENAME_PREFIX, LIBRARYOBJECT_VIEWNAME_PREFIX, LOCKTYPE_CHECKOUT, LOCKTYPE_CUSTOM, LOCKTYPE_DAV, LOCKTYPE_FAMILYHASRECORD, LOCKTYPE_FINALIZED, LOCKTYPE_FREEZE, LOCKTYPE_HAS_RECORD, LOCKTYPE_LIFECYCLE, LOCKTYPE_MANUAL, LOCKTYPE_NAMEDFREEZE, LOCKTYPE_RECORD, LOCKTYPE_RETENTION, LOCKTYPE_WORKFLOW, MAPVALUES_TABLENAME_PREFIX, PERFORMEDACTIVITY_PRIVATEACTIONINDEX_PREFIX, PERFORMEDACTIVITY_PRIVATEACTIONTABLE_PREFIX, PERFORMEDACTIVITY_SEQUENCE_PREFIX, PERFORMEDACTIVITY_SUMMARYTABLE_PREFIX, PERFORMEDACTIVITY_TABLE_PREFIX, PERFORMEDACTIVITY_VIEW_PREFIX, PUBLIC_SESSIONSTATE_APPLICATION_CONTEXT, PUBLIC_SESSIONSTATE_APPLICATION_USERIDENTIFER, PUBLICOBJECT_BASESECUREVIEWNAME_PREFIX, PUBLICOBJECT_BASEVIEWNAME_PREFIX, PUBLICOBJECT_SECUREVIEWNAME_PREFIX, PUBLICOBJECT_UNDELETED_SECUREVIEWNAME_PREFIX, PUBLICOBJECT_UNDELETED_VIEWNAME_PREFIX, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_CHECKOUT, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_DAV, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_FINALIZED, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_FREEZE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_HASRECORD, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_LIFECYCLE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_MANUAL, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_NAMEDFREEZE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_RECORD, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_RETENTION, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_WORKFLOW, SYSTEMLOCK_NAME_FINALIZED, SYSTEMLOCK_NAME_FREEZE, SYSTEMLOCK_NAME_HAS_RECORD, SYSTEMLOCK_NAME_LIFECYCLE, SYSTEMLOCK_NAME_RECORD, SYSTEMLOCK_NAME_RETENTION, TRACKEDACTIVITY_PRIVATEACTIONINDEX_PREFIX, TRACKEDACTIVITY_PRIVATEACTIONTABLE_PREFIX, TRACKEDACTIVITY_SEQUENCE_PREFIX, TRACKEDACTIVITY_SUMMARYTABLE_PREFIX, TRACKEDACTIVITY_TABLE_PREFIX, TRACKEDACTIVITY_VIEW_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
S_LibraryService()
Constructs a S_LibraryService.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSession(S_LibrarySession session)
Adds the specified S_LibrarySession to the set of sessions
managed by this S_LibraryService.
|
protected void |
checkSchemaPassword(String password)
Checks if the supplied value is the schema password.
|
protected void |
cleanupDeadServices(S_LibrarySession session,
long serviceTimeoutPeriod)
Cleans up S_LibraryServices that have abnormally terminated.
|
protected void |
clearSharedCaches()
Forces a clear (reset) of shared caches.
|
static void |
closeResultSet(ResultSet rset)
Try our best to close a resultSet; no exceptions thrown
|
static void |
closeStatement(Statement stmt)
Try our best to close a Statement; no exceptions thrown
|
static void |
closeStatement(StatementWrapper stmt)
Try our best to close a wrapped Statement; no exceptions thrown
|
S_LibrarySessionInterface |
connect(Credential credential,
ConnectOptions options)
Creates a new session on this S_LibraryService.
|
protected S_LibrarySession |
constructSession()
Dynamically constructs an unauthenticated S_LibrarySession.
|
static void |
deleteRepositoryParameter(Connection conn,
String name)
Deletes the specified repository parameter.
|
void |
deregisterServiceEventHandler(IfsEventHandler handler)
De-register a Service event handler.
|
protected void |
disconnectIdleSessions(long currentTime)
Disconnects S_LibrarySessions that have been idle for longer than the
value of the
SessionTimeoutPeriod parameter in the service
properties file. |
void |
disconnectSession(Long sessionId)
Disconnects the specified session.
|
void |
dispose()
Disposes this iFS service.
|
void |
dispose(DataSource dataSource)
Disposes this iFS service.
|
void |
dispose(String schemaPassword)
Disposes this iFS service.
|
void |
dispose(SystemUserCredential cred)
Disposes this service.
|
void |
disposeFolderIndexService()
Dispose the FolderIndexService on-the-fly.
|
protected void |
disposeSubServiceIgnoreError(SubService sub)
Disposes the specified subservice, consuming any thrown
IfsException.
|
void |
establishFolderIndexService()
Establish a FolderIndexService on-the-fly.
|
static S_LibraryService |
findService(String serviceName)
Finds an existing iFS service with the specified name.
|
protected SubService |
findSubService(String name)
Gets a subservice by name.
|
AccessControlListDiscoverAccessService |
getAccessControlListDiscoverAccessService()
Gets the AccessControlListProxyService for this S_LibraryService.
|
AccessControlListIndexService |
getAccessControlListIndexService()
Gets the AccessControlListIndexService for this S_LibraryService.
|
AccessControlListProxyService |
getAccessControlListProxyService()
Gets the AccessControlListProxyService for this S_LibraryService.
|
protected S_LibrarySession[] |
getAllSessions()
Gets all connected sessions
|
protected SubService[] |
getAllSubServices()
Gets all registered SubServices.
|
int |
getAncestorThreshold(S_LibrarySession session)
Gets the threshold for using a temp table to select all (recursive) ancestors
of a directory object.
|
long |
getAttributesRsn()
Gets the resolution sequence number at which an attribute
was last added or removed.
|
protected BoundedCache |
getAuditCertificateCache()
Gets the AuditCertificate cache.
|
BoundedCacheConfiguration |
getAuditCertificateCacheConfiguration()
Gets the configuration parameters of the AuditCertificate
cache.
|
CachePerformance |
getAuditCertificateCachePerformance()
Gets the performance information for the AuditCertificate
cache.
|
protected BoundedCache |
getAuditInlineStringCache()
Gets the Audit cache for inline strings.
|
protected BoundedCache |
getAuditInlineStringReferenceCache()
Gets the Audit cache for references to inline strings.
|
protected HashMap |
getBootstrapClassPolicyActionContexts()
Gets the "policy bootstrap" PolicyActionContexts.
|
Long |
getClockOffset()
Gets the clock offset, representing the number of milliseconds the
DBMS clock is ahead of this mid tier.
|
protected BoundedCache |
getCommittedLibraryObjectDataCache()
Gets the committed S_LibraryObjectData cache.
|
BoundedCacheConfiguration |
getCommittedLibraryObjectDataCacheConfiguration()
Gets the configuration parameters of the committed S_LibraryObjectData
cache.
|
CachePerformance |
getCommittedLibraryObjectDataCachePerformance()
Gets the performance information for the committed S_LibraryObjectData
cache.
|
protected BoundedCache |
getCommittedResolvedAclCache()
Gets the committed resolved ACL cache.
|
BoundedCacheConfiguration |
getCommittedResolvedAclCacheConfiguration()
Gets the configuration parameters of the committed Resolved Acl
cache.
|
CachePerformance |
getCommittedResolvedAclCachePerformance()
Gets the performance information for the committed Resolved Acl
cache.
|
Hashtable |
getConfigurationProperties()
Gets the configuration properties of this service.
|
CredentialNameTokenizer |
getCredentialNameTokenizer()
Gets the CredentialNameTokenizer for this S_LibraryService.
|
protected static long |
getCurrentTime()
Returns the current time as a long, appropriate
for storing in the database.
|
static long |
getDatabaseVersionNumber(Connection conn)
Gets the version of the database as a long
|
static String |
getDatabaseVersionString(Connection conn)
Gets the version of the Database as a string.
|
DirectoryGroupIndexService |
getDirectoryGroupIndexService()
Gets the DirectoryGroupIndexService for this S_LibraryService.
|
DirectoryService |
getDirectoryService()
Gets the DirectoryService of this S_LibraryService.
|
long |
getEffectiveSchemaVersionNumber()
Gets the effective schema version as a long.
|
String |
getEffectiveSchemaVersionString()
Gets the effective schema version as a string.
|
static String |
getEncryptedRepositoryParameter(Connection conn,
String name)
Gets the value of the specified repository parameter.
|
protected oracle.ifs.server.S_LibraryServiceEventExchanger |
getEventExchanger()
Returns the S_LibraryServiceEventExchanger of this S_LibraryService.
|
FolderIndexService |
getFolderIndexService()
Gets the FolderIndexService for this S_LibraryService.
|
protected GroupMembershipCache |
getGroupMembershipCache()
Gets the group membership cache.
|
GssApiCredential |
getGssApiCredential(byte[] inputTicket,
Hashtable parameters)
Gets a new GssApiCredential using the supplied ticket.
|
protected Long |
getGuestUserId(S_LibrarySession session)
Gets the ID of the guest user.
|
Long |
getId()
Gets the id of this service.
|
Localizer |
getLocalizer()
Gets the Localizer of this S_LibraryService.
|
protected long |
getLockrowsTimeoutPeriod()
Gets the timeout period to use for timeout of the
lockrows() operation.
|
int |
getMaximumConcurrentSessions()
Gets the maximum number of concurrent sessions for this service.
|
int |
getMaximumConcurrentSessionsPerUser()
Gets the maximum number of concurrent sessions per user for this
service.
|
int |
getMemberThreshold(S_LibrarySession session)
Gets the threshold for using a temp table to select all (recursive) members
of a group.
|
String |
getName()
Gets the name of this service.
|
String |
getNodeName()
Gets the name of the node that started this service.
|
protected PolicyAction |
getPolicyAction(String className)
Finds a PolicyAction specified by fully-qualified classname.
|
protected ConnectionPool |
getReadonlyConnectionPool()
Gets the readonly connection pool for this S_LibraryService.
|
ConnectionPoolConfiguration |
getReadonlyConnectionPoolConfiguration()
Gets the configuration parameters of the readonly ConnectionPool.
|
ConnectionPoolPerformance |
getReadonlyConnectionPoolPerformance()
Gets the performance information for the readonly ConnectionPool.
|
static String |
getRepositoryParameter(Connection conn,
String name)
Gets the value of the specified repository parameter.
|
protected static String |
getRepositoryParameter(Connection conn,
String name,
boolean shouldLock)
Gets the value of the specified repository parameter, acquiring a
row-level lock if specified.
|
protected String |
getRepositoryParameter(String name)
Gets the value of the specified repository parameter.
|
protected String[] |
getRepositoryParameterNames(Connection conn,
String prefix)
Gets the repository parameter names that start with the specified prefix.
|
String |
getResourceString(String key)
Gets the resource string for the specified key.
|
String |
getResourceString(String key,
Object[] params)
Gets the resource string for the specified key, and substitutes the
specified parameters into that resource string.
|
long |
getRsn()
Gets the last-generated resolution sequence number.
|
String |
getSchemaName()
Returns the name of the schema used by this service.
|
long |
getSchemaVersionNumber()
Gets the schema version as a long.
|
String |
getSchemaVersionString()
Gets the schema version as a string.
|
AttributeValue |
getServiceConfigurationProperty(String name)
Gets the specified service configuration property.
|
boolean |
getServiceConfigurationProperty(String name,
boolean defaultValue)
Gets the value of the specified service configuration property,
as a boolean.
|
double |
getServiceConfigurationProperty(String name,
double defaultValue)
Gets the value of the specified service configuration property,
as a double.
|
int |
getServiceConfigurationProperty(String name,
int defaultValue)
Gets the value of the specified service configuration property,
as an integer.
|
String |
getServiceConfigurationProperty(String name,
String defaultValue)
Gets the value of the specified service configuration property,
as a string.
|
static S_LibraryService[] |
getServices()
Gets the existing iFS services in this VM.
|
Constructor |
getSessionConstructor()
Gets the S_LibrarySession constructor.
|
protected int |
getSessionCount()
Gets the number of sessions currently connected to this service.
|
protected Object |
getSystemUserToken(S_LibrarySession session)
Gets the system token that can be used to efficiently clone
system sessions.
|
TokenCredential |
getTokenCredential(String token,
Hashtable parameters,
boolean consume)
Gets the previously-created TokenCredential for the specified token.
|
TraceLogger |
getTraceLogger()
Gets the TraceLogger of this S_LibraryService.
|
static long |
getVersionNumber()
Gets the version of this S_LibraryService as a long.
|
static String |
getVersionString()
Gets the version of this S_LibraryService as a string.
|
protected ConnectionPool |
getWriteableConnectionPool()
Gets the writeable connection pool for this S_LibraryService.
|
ConnectionPoolConfiguration |
getWriteableConnectionPoolConfiguration()
Gets the configuration parameters of the writeable ConnectionPool.
|
ConnectionPoolPerformance |
getWriteableConnectionPoolPerformance()
Gets the performance information for the writeable ConnectionPool.
|
void |
handleEvent(IfsEvent event)
Handles the specified event.
|
void |
incrementAttributesRsn()
Increments the resolution sequence number at which an attribute
was last added or removed.
|
protected void |
initialize(String name,
String nodeName,
AttributeValue[] serviceConfiguration,
DataSource dataSource)
Initializes a S_LibraryService.
|
void |
invalidateTokenCredential(String token,
Hashtable parameters)
Invalidates the previously-created TokenCredential for the specified
token.
|
boolean |
isAcceptingNewSessions()
Gets whether this service currently accepts new sessions,
subject to its maximum number of concurrent sessions.
|
boolean |
isAclResolutionSynchronous()
Returns the ACL resolution mode.
|
boolean |
isArrayInputsUsedForAncestorSelection(S_LibrarySession session)
Gets whether to use array inputs for selecting "all ancestors"
if size has exceeded threshhold.
|
boolean |
isArrayInputsUsedForMemberSelection(S_LibrarySession session)
Gets whether to use array inputs for selecting "all members"
if size has exceeded threshhold.
|
protected boolean |
isAuditingEnabled()
Returns indication as to whether auditing is enabled.
|
boolean |
isAuroraService()
Gets whether this S_LibraryService is running in Aurora.
|
boolean |
isDisposedOnLastDisconnect()
Gets whether this service will be automatically disposed
when its last session is disconnected.
|
protected boolean |
isLykeEnabled()
Gets whether there is a ctxsubstr ("LYKE") index on the NAME attribute
of PublicObject.
|
protected boolean |
isPartitioningEnabled(S_LibrarySession session)
checks whether or not partitioning is being used in this
instance.
|
static boolean |
isServiceStarted(String serviceName)
Determines whether there exists an iFS service with the specified name.
|
boolean |
isTraced(int channel,
int level)
Gets whether tracing is enabled for the specified channel and level.
|
static String |
lockRepositoryParameter(Connection conn,
String name)
Gets the value of the specified repository parameter, acquiring a
row-level lock on it.
|
protected static ContentStreamSerializer |
newContentStreamSerializer()
Constructs and returns a ContentStreamSerializer appropriate to
the runtime process model.
|
long |
nextRsn()
Gets the next resolution sequence number.
|
protected void |
postEvent(IfsEvent event)
Posts the specified event.
|
protected void |
processEvent(IfsEvent event)
Processes the specified event.
|
protected void |
putPolicyAction(String className,
PolicyAction pa)
Caches a PolicyAction specified by fully-qualified classname.
|
void |
registerServiceEventHandler(IfsEventHandler handler)
Register a Service event handler.
|
protected void |
registerSubService(String name,
SubService sub)
Registers a subservice.
|
protected void |
removePolicyAction(String className)
Removes a PolicyAction specified by fully-qualified classname.
|
protected void |
removeSession(S_LibrarySession session)
Removes the specified S_LibrarySession from the set of sessions
managed by this S_LibraryService.
|
void |
resetAuditCertificateCachePerformance()
Resets the performance information for the AuditCertificate
cache.
|
protected void |
resetCachedStatements()
Resets the cached statements in the connection pools.
|
void |
resetCommittedLibraryObjectDataCachePerformance()
Resets the performance information for the committed S_LibraryObjectData
cache.
|
void |
resetCommittedResolvedAclCachePerformance()
Resets the performance information for the committed Resolved Acl
cache.
|
protected void |
resetConnectionPools()
Resets the connection pools.
|
protected void |
resetConnectionPools(boolean minimizePools)
Resets the connection pools.
|
void |
resetReadonlyConnectionPoolStatistics()
Resets the performance statistics of the readonly ConnectionPool.
|
void |
resetWriteableConnectionPoolStatistics()
Resets the performance statistics of the writeable ConnectionPool.
|
protected void |
sendServiceKeepAliveEvent(long currentTime)
Periodically sends a keep-alive IfsEvent to other S_LibraryServices.
|
void |
setAcceptingNewSessions(boolean accepting)
Sets whether this service currently accepts new sessions,
subject to its maximum number of concurrent sessions.
|
void |
setAuditCertificateCacheConfiguration(BoundedCacheConfiguration configuration)
Alters the configuration of the AuditCertificate cache.
|
void |
setBootstrapClassPolicyActionContexts(HashMap pacs,
String schemaPassword)
Puts the service in "policy bootstrap" mode.
|
void |
setCommittedLibraryObjectDataCacheConfiguration(BoundedCacheConfiguration configuration)
Alters the configuration of the committed S_LibraryObjectData cache.
|
void |
setCommittedResolvedAclCacheConfiguration(BoundedCacheConfiguration configuration)
Alters the configuration of the committed Resolved Acl cache.
|
void |
setDisposedOnLastDisconnect(boolean dispose)
Sets whether this service will be automatically disposed
when its last session is disconnected.
|
static void |
setEncryptedRepositoryParameter(Connection conn,
String name,
String value)
Sets the value of the specified repository parameter.
|
void |
setMaximumConcurrentSessions(int count)
Sets the maximum number of concurrent sessions for this service.
|
void |
setMaximumConcurrentSessionsPerUser(int count)
Sets the maximum number of concurrent sessions per user for this
service.
|
void |
setReadonlyConnectionPoolConfiguration(ConnectionPoolConfiguration configuration)
Alters the configuration of the readonly ConnectionPool.
|
static void |
setRepositoryParameter(Connection conn,
String name,
String value)
Sets the value of the specified repository parameter.
|
void |
setWriteableConnectionPoolConfiguration(ConnectionPoolConfiguration configuration)
Alters the configuration of the writeable ConnectionPool.
|
static S_LibraryService |
startService(String serviceName,
String nodeName,
AttributeValue[] serviceConfig,
DataSource dataSource)
Starts a new iFS service with the specified name.
|
protected static void |
throwUnexpectedException(String methodname,
Exception e)
Throws an unexpected exception.
|
void |
trace(int channel,
int level,
String payload)
Issues a trace request to the trace logger.
|
protected SubService |
unregisterSubService(String name)
Unregisters a subservice.
|
protected void |
verifyMaximumConcurrentSessionsPerUser(S_LibrarySession session,
Long userId)
Verifies the just-connected session didn't blow out the
maximum number of concurrent sessions per user for this
service.
|
protected void |
verifySchemaVersion()
Checks the validity of the schema version number.
|
public static String DBMS_TABLENAME_PREFIX
public static String DBMS_VIEWNAME_PREFIX
public static String DBMS_AUDIT_TABLENAME_PREFIX
protected static String DBMS_BASEVIEWNAME_PREFIX
protected static String DBMS_UNDELETED_VIEWNAME_PREFIX
protected static String DBMS_BASESECUREVIEWNAME_PREFIX
protected static String DBMS_SECUREVIEWNAME_PREFIX
protected static String DBMS_UNDELETED_SECUREVIEWNAME_PREFIX
protected static String DBMS_INDEXNAME_PREFIX
public static String SERVICE_REGISTRY_DIRECTORY_SERVICE
public static String SERVICE_REGISTRY_WRITEABLE_CONNECTION_POOL
public static String SERVICE_REGISTRY_READONLY_CONNECTION_POOL
public static String SERVICE_REGISTRY_EVENT_EXCHANGER
public static String SERVICE_REGISTRY_ACL_PROXY_SERVICE
public static String SERVICE_REGISTRY_ACL_RESOLVER_SERVICE
public static String SERVICE_REGISTRY_GROUP_INDEX_SERVICE
public static String SERVICE_REGISTRY_ACL_INDEX_SERVICE
public static String SERVICE_REGISTRY_FOLDER_INDEX_SERVICE
protected static String REPOS_PARAM_AUDITING_ENABLED_KEY
protected S_LibraryService()
protected void initialize(String name, String nodeName, AttributeValue[] serviceConfiguration, DataSource dataSource) throws IfsException
name
- the service namenodeName
- the node nameserviceConfiguration
- the service configuration propertiesdataSource
- the data sourceIfsException
- (IFS-20122) if the operation failspublic static S_LibraryService[] getServices() throws IfsException
IfsException
- if the operation failspublic static S_LibraryService findService(String serviceName) throws IfsException
If there is no service with that name, an exception is thrown.
serviceName
- the name of the serviceIfsException
- (IFS-20100) if the operation failspublic static boolean isServiceStarted(String serviceName) throws IfsException
serviceName
- the name of the serviceIfsException
- (IFS-20101) if the operation failspublic static S_LibraryService startService(String serviceName, String nodeName, AttributeValue[] serviceConfig, DataSource dataSource) throws IfsException
Throws an exception if there is already a service with that name.
serviceName
- the name of the servicenodeName
- the name of the Node that runs this serviceserviceConfig
- the service configuration propertiesdataSource
- the database connectionIfsException
- (IFS-20102) if the operation failspublic void dispose(String schemaPassword) throws IfsException
schemaPassword
- the password for the database schemaIfsException
- (IFS-20105) if the operation failspublic void dispose(DataSource dataSource) throws IfsException
dataSource
- data sourceIfsException
- (IFS-20105) if the operation failspublic void dispose(SystemUserCredential cred) throws IfsException
cred
- the password for the database schemaIfsException
- (IFS-20105) if the operation failsprotected void checkSchemaPassword(String password) throws Exception
password
- supplied passwordException
- if the supplied password is incorrect or if the
operation failspublic void dispose() throws IfsException
IfsException
public Long getId() throws IfsException
IfsException
- if the operation failspublic Long getClockOffset() throws IfsException
IfsException
- if the operation failspublic String getName() throws IfsException
IfsException
- if the operation failspublic String getNodeName() throws IfsException
IfsException
- if the operation failspublic Hashtable getConfigurationProperties()
public boolean isAcceptingNewSessions() throws IfsException
IfsException
- if the operation failspublic void setAcceptingNewSessions(boolean accepting) throws IfsException
accepting
- whether the service accepts new sessionsIfsException
- if the operation failspublic boolean isDisposedOnLastDisconnect() throws IfsException
IfsException
- if the operation failspublic void setDisposedOnLastDisconnect(boolean dispose) throws IfsException
dispose
- whether the service will be automatically disposedIfsException
- if the operation failsprotected int getSessionCount() throws IfsException
IfsException
- if the operation failsprotected S_LibrarySession[] getAllSessions() throws IfsException
IfsException
- if the operation failspublic int getMaximumConcurrentSessions() throws IfsException
IfsException
- if the operation failspublic void setMaximumConcurrentSessions(int count) throws IfsException
Specifying a value less than the current session count will not affect any existing sessions, but will prevent any new sessions from connecting until the session count falls below the specified value.
count
- the maximum number of concurrent sessions,
or 0 if there is no maximumIfsException
- if the operation failspublic int getMaximumConcurrentSessionsPerUser() throws IfsException
This limit does not apply to the system
user.
IfsException
- if the operation failspublic void setMaximumConcurrentSessionsPerUser(int count) throws IfsException
This limit does not apply to the system
user.
Specifying a value less than the current session count for a user will not affect any existing sessions, but will prevent the user from connecting any new sessions until the session count falls below the specified value.
count
- the maximum number of concurrent sessions,
or 0 if there is no maximumIfsException
- if the operation failspublic void setBootstrapClassPolicyActionContexts(HashMap pacs, String schemaPassword) throws IfsException
In policy bootstrap mode, the in-play policies are not determined by the ClassPolicyList attribute of CLASSOBJECT and the PolicyList attribute of PUBLICOBJECT, SCHEMAOBJECT, and SYSTEMOBJECT. Instead they are explicitly specified using this method.
The pacs
argument must be a HashMap whose names are
uppercased ClassObject names, and whose values are Lists of the
PolicyActionContexts for the ClassObject's ClassPolicyList. The
getClassPolicyActionContexts
method of PolicyManager
returns a value in this form.
If pacs
is null, the service is taken out of bootstrap
mode.
pacs
- see method descriptionschemaPassword
- the schema passwordIfsException
- (IFS-20014) if the operation failsprotected HashMap getBootstrapClassPolicyActionContexts() throws IfsException
In policy bootstrap mode, the in-play policies are not determined by the ClassPolicyList attribute of CLASSOBJECT and the PolicyList attribute of PUBLICOBJECT, SCHEMAOBJECT, and SYSTEMOBJECT. Instead they are explicitly specified using this method.
The return value is a HashMap whose names are uppercased ClassObject names, and whose values are Lists of the PolicyActionContexts for the ClassObject's ClassPolicyList.
If the return value is null, the service not in bootstrap mode.
IfsException
- if the operation failspublic long nextRsn() throws IfsException
The resolution sequence number is proxy timebase.
IfsException
- if the operation failspublic long getRsn() throws IfsException
The resolution sequence number is proxy timebase.
IfsException
- if the operation failspublic long getAttributesRsn() throws IfsException
IfsException
- if the operation failspublic void incrementAttributesRsn() throws IfsException
IfsException
- if the operation failspublic boolean isAuroraService() throws IfsException
IfsException
- if the operation failsprotected boolean isPartitioningEnabled(S_LibrarySession session)
IfsException
- if the operation failsprotected boolean isLykeEnabled() throws IfsException
IfsException
- if the operation failsprotected Long getGuestUserId(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic static String getVersionString() throws IfsException
IfsException
- if the operation failspublic static long getVersionNumber() throws IfsException
IfsException
- if the operation failspublic String getSchemaVersionString() throws IfsException
IfsException
- (IFS-20001) if the operation failspublic String getEffectiveSchemaVersionString() throws IfsException
This can be different from the string returned from
getSchemaVersionString
if a repository
parameter with the key EFFECTIVE_SCHEMAVERSION is defined. This
parameter is used in some upgrade scenarios.
IfsException
- (IFS-20001) if the operation failspublic long getSchemaVersionNumber() throws IfsException
IfsException
- (IFS-20001) if the operation failspublic long getEffectiveSchemaVersionNumber() throws IfsException
This can be different from the string returned from
getSchemaVersionNumber
if a repository
parameter with the key EFFECTIVE_SCHEMAVERSION is defined. This
parameter is used in some upgrade scenarios.
IfsException
- (IFS-20001) if the operation failspublic static String getDatabaseVersionString(Connection conn) throws IfsException
conn
- the LibraryConnectionIfsException
- (IFS-20133) if the operation failspublic static long getDatabaseVersionNumber(Connection conn) throws IfsException
conn
- the library connectionIfsException
- (IFS-20133) if the operation failspublic final Localizer getLocalizer() throws IfsException
IfsException
- if the operation failspublic final String getSchemaName() throws IfsException
IfsException
- if the operation failspublic String getResourceString(String key) throws IfsException
The method looks-up the key in each extended resource bundle. If no extended resource bundle contains the key, the default resource bundle (LibraryResources) is used.
key
- the resource bundle keyIfsException
- (IFS-12001) if the operation failspublic String getResourceString(String key, Object[] params) throws IfsException
The method looks-up the key using getResourceString(key)
.
Next, java.text.MessageFormat
is used to substitute the
parameters specified by params
into the key's value. If
a string element of params
is delimited by brackets, i.e.
"{param}
", then that element is replaced with the
value returned by getResourceString("param")
before
being passed to MessageFormat
.
key
- the resource bundle keyparams
- an array of Objects to be substituted into
the resource bundle message using using
java.text.MessageFormat
IfsException
- (IFS-12006) if the operation failspublic AttributeValue getServiceConfigurationProperty(String name) throws IfsException
name
- the property nameIfsException
- (IFS-20004) if the operation failspublic String getServiceConfigurationProperty(String name, String defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic boolean getServiceConfigurationProperty(String name, boolean defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic int getServiceConfigurationProperty(String name, int defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic double getServiceConfigurationProperty(String name, double defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failsprotected final String[] getRepositoryParameterNames(Connection conn, String prefix) throws IfsException
conn
- the database connectionprefix
- the prefix with which repository parameter names
must start to be returned; if null or zero-length,
all repository parameter names are returnedIfsException
- if the operation failsprotected String getRepositoryParameter(String name) throws IfsException
name
- the parameter nameIfsException
- if the operation failspublic static String getRepositoryParameter(Connection conn, String name) throws IfsException
conn
- the JDBC connectionname
- the parameter nameIfsException
- if the operation failspublic static String lockRepositoryParameter(Connection conn, String name) throws IfsException
conn
- the JDBC connectionname
- the parameter nameIfsException
- if the operation failsprotected static String getRepositoryParameter(Connection conn, String name, boolean shouldLock) throws IfsException
conn
- the JDBC connectionname
- the parameter nameshouldLock
- whether acquire a row-level lockIfsException
- if the operation failspublic static void setRepositoryParameter(Connection conn, String name, String value) throws IfsException
conn
- the JDBC connectionname
- the parameter namevalue
- the parameter valueIfsException
- if the operation failspublic static void deleteRepositoryParameter(Connection conn, String name) throws IfsException
conn
- the JDBC connectionname
- the parameter nameIfsException
- if the operation failspublic static String getEncryptedRepositoryParameter(Connection conn, String name) throws IfsException
The specified repository parameter's value is stored encrypted.
conn
- the JDBC connectionname
- the parameter nameIfsException
- if the operation failspublic static void setEncryptedRepositoryParameter(Connection conn, String name, String value) throws IfsException
The specified repository parameter's value is stored encrypted.
conn
- the JDBC connectionname
- the parameter namevalue
- the parameter value, up to 127 charactersIfsException
- if the operation failsprotected void verifySchemaVersion() throws IfsException
IfsException
- (IFS-20002) if the schema version is invalidIfsException
- if the operation otherwise failsprotected static ContentStreamSerializer newContentStreamSerializer() throws IfsException
IfsException
- if the operation failsprotected void registerSubService(String name, SubService sub) throws IfsException
name
- the name of the subservicesub
- the subserviceIfsException
- if the operation failsprotected SubService unregisterSubService(String name)
name
- the name of the subserviceprotected SubService findSubService(String name) throws IfsException
name
- the name of the subserviceIfsException
- if the operation failsprotected SubService[] getAllSubServices() throws IfsException
The returned array is not sorted in any predictable way.
IfsException
- if the operation failsprotected void disposeSubServiceIgnoreError(SubService sub)
sub
- the subservicepublic S_LibrarySessionInterface connect(Credential credential, ConnectOptions options) throws IfsException
credential
- the user credentialoptions
- connect optionsIfsException
- (IFS-21008) if the operation failsprotected S_LibrarySession constructSession() throws IfsException
IfsException
- if the operation failspublic Constructor getSessionConstructor() throws IfsException
IfsException
- (IFS-21002) if the operation failsprotected void addSession(S_LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsprotected void clearSharedCaches() throws IfsException
IfsException
- if the operation failsprotected void removeSession(S_LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsprotected void verifyMaximumConcurrentSessionsPerUser(S_LibrarySession session, Long userId) throws IfsException
session
- the just-connected sessionuserId
- the user id, which hasn't yet been set on the
session, requiring it to be passed separatelyIfsException
- (IFS-20132) if the maximum concurrent sessions
was exceeded
or IfsException if the operation otherwise failsprotected Object getSystemUserToken(S_LibrarySession session) throws IfsException
IfsException
- if the operation failspublic DirectoryService getDirectoryService() throws IfsException
IfsException
- if the operation failspublic CredentialNameTokenizer getCredentialNameTokenizer() throws IfsException
IfsException
- (IFS-12790) if the operation failspublic TokenCredential getTokenCredential(String token, Hashtable parameters, boolean consume) throws IfsException
token
- the tokenparameters
- the required parameters. For this method to return
a TokenCredential, this hashtable must contain a
matching entry for every required parameter that
was specified in creating the TokenCredential.consume
- whether to decrement the remaining authentication
count for this TokenCredentialIfsException
- (IFS-10192) if the operation failspublic GssApiCredential getGssApiCredential(byte[] inputTicket, Hashtable parameters) throws IfsException
inputTicket
- client supplied GSS api ticketparameters
- currently not usedIfsException
- (IFS-10192) if the operation failspublic void invalidateTokenCredential(String token, Hashtable parameters) throws IfsException
Once invalidated, the token can no longer be used to authenticate.
token
- the tokenparameters
- the required parameters. For this method to
invalidate a TokenCredential, this hashtable
must contain a matching entry for every required
parameter that was specified in creating the
TokenCredential.IfsException
- (IFS-10189) 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, String payload)
protected ConnectionPool getWriteableConnectionPool() throws IfsException
IfsException
- if the operation failsprotected ConnectionPool getReadonlyConnectionPool() throws IfsException
IfsException
- if the operation failsprotected void resetConnectionPools() throws IfsException
IfsException
- if the operation failsprotected void resetConnectionPools(boolean minimizePools) throws IfsException
minimizePools
- true if pools are to be constructed minimallyIfsException
- if the operation failsprotected void resetCachedStatements() throws IfsException
IfsException
- if the operation failsprotected oracle.ifs.server.S_LibraryServiceEventExchanger getEventExchanger() throws IfsException
IfsException
- if the operation failspublic void registerServiceEventHandler(IfsEventHandler handler) throws IfsException
handler
- the handler to registerIfsException
- if the operation failspublic void deregisterServiceEventHandler(IfsEventHandler handler) throws IfsException
handler
- the handler to de-register; if null, de-register all
service handlersIfsException
- if the operation failsprotected void postEvent(IfsEvent event) throws IfsException
event
- the eventIfsException
- if the operation failsprotected void processEvent(IfsEvent event) throws IfsException
event
- the eventIfsException
- if the operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent
in interface IfsEventHandler
event
- the eventIfsException
- if the operation failspublic FolderIndexService getFolderIndexService()
public void establishFolderIndexService() throws IfsException
IfsException
- if the operation failspublic void disposeFolderIndexService() throws IfsException
IfsException
- if the operation failspublic AccessControlListIndexService getAccessControlListIndexService()
public AccessControlListProxyService getAccessControlListProxyService()
public AccessControlListDiscoverAccessService getAccessControlListDiscoverAccessService()
public DirectoryGroupIndexService getDirectoryGroupIndexService()
public boolean isAclResolutionSynchronous() throws IfsException
IfsException
- (IFS-20001) if the operation failsprotected boolean isAuditingEnabled()
protected BoundedCache getAuditCertificateCache()
protected BoundedCache getAuditInlineStringCache()
protected BoundedCache getAuditInlineStringReferenceCache()
protected void disconnectIdleSessions(long currentTime)
SessionTimeoutPeriod
parameter in the service
properties file.
The frequency of this check is determined by the value of the
CheckForIdleSessionsPeriod
paramater in the service
properties file.
currentTime
- the current timeprotected long getLockrowsTimeoutPeriod()
protected void sendServiceKeepAliveEvent(long currentTime)
currentTime
- the current timeprotected void cleanupDeadServices(S_LibrarySession session, long serviceTimeoutPeriod) throws IfsException
session
- the sessionserviceTimeoutPeriod
- the period, in seconds, after which
a service for which no keep-alive
packets have been received is deemed
deadIfsException
- (IFS-20110) if the operation failsprotected BoundedCache getCommittedLibraryObjectDataCache()
public BoundedCacheConfiguration getCommittedLibraryObjectDataCacheConfiguration() throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
IfsException
- if the operation failspublic void setCommittedLibraryObjectDataCacheConfiguration(BoundedCacheConfiguration configuration) throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
configuration
- the configuration parametersIfsException
- (IFS-10810) if the operation failspublic CachePerformance getCommittedLibraryObjectDataCachePerformance() throws IfsException
IfsException
- if the operation failspublic void resetCommittedLibraryObjectDataCachePerformance() throws IfsException
IfsException
- if the operation failsprotected BoundedCache getCommittedResolvedAclCache()
public BoundedCacheConfiguration getCommittedResolvedAclCacheConfiguration() throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
IfsException
- if the operation failspublic void setCommittedResolvedAclCacheConfiguration(BoundedCacheConfiguration configuration) throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
configuration
- the configuration parametersIfsException
- (IFS-10810) if the operation failspublic CachePerformance getCommittedResolvedAclCachePerformance() throws IfsException
IfsException
- if the operation failspublic void resetCommittedResolvedAclCachePerformance() throws IfsException
IfsException
- if the operation failspublic BoundedCacheConfiguration getAuditCertificateCacheConfiguration() throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
IfsException
- if the operation failspublic void setAuditCertificateCacheConfiguration(BoundedCacheConfiguration configuration) throws IfsException
Refer to the Javadoc of LooselyBoundedCache for additional information on this method.
configuration
- the configuration parametersIfsException
- (IFS-10810) if the operation failspublic CachePerformance getAuditCertificateCachePerformance() throws IfsException
IfsException
- if the operation failspublic void resetAuditCertificateCachePerformance() throws IfsException
IfsException
- if the operation failsprotected GroupMembershipCache getGroupMembershipCache()
Can return null if the service configuration property IFS.SERVICE.GroupMembershipCacheEnabled is not set or is set to false.
public int getMemberThreshold(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic int getAncestorThreshold(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic boolean isArrayInputsUsedForMemberSelection(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic boolean isArrayInputsUsedForAncestorSelection(S_LibrarySession session) throws IfsException
session
- the session contextIfsException
- if the operation failspublic ConnectionPoolConfiguration getReadonlyConnectionPoolConfiguration() throws IfsException
Refer to the Javadoc of ConnectionPool for additional information on this method.
IfsException
- (IFS-10628) if the operation failspublic void setReadonlyConnectionPoolConfiguration(ConnectionPoolConfiguration configuration) throws IfsException
Refer to the Javadoc of ConnectionPool for additional information on this method.
configuration
- the configuration parametersIfsException
- (IFS-10629) if the operation failspublic ConnectionPoolPerformance getReadonlyConnectionPoolPerformance() throws IfsException
IfsException
- (IFS-10624) if the operation failspublic void resetReadonlyConnectionPoolStatistics() throws IfsException
IfsException
- (IFS-10625) if the operation failspublic ConnectionPoolConfiguration getWriteableConnectionPoolConfiguration() throws IfsException
Refer to the Javadoc of ConnectionPool for additional information on this method.
IfsException
- (IFS-10628) if the operation failspublic void setWriteableConnectionPoolConfiguration(ConnectionPoolConfiguration configuration) throws IfsException
Refer to the Javadoc of ConnectionPool for additional information on this method.
configuration
- the configuration parametersIfsException
- (IFS-10629) if the operation failspublic ConnectionPoolPerformance getWriteableConnectionPoolPerformance() throws IfsException
IfsException
- (IFS-10624) if the operation failspublic void resetWriteableConnectionPoolStatistics() throws IfsException
IfsException
- (IFS-10625) if the operation failspublic void disconnectSession(Long sessionId) throws IfsException
sessionId
- the id of the session to be disconnectedIfsException
- (IFS-20104) if the operation failsprotected PolicyAction getPolicyAction(String className) throws IfsException
className
- the fully-qualified class name of the PolicyActionIfsException
- if the operation failsprotected void putPolicyAction(String className, PolicyAction pa) throws IfsException
className
- the fully-qualified class name of the PolicyActionpa
- the PolicyActionIfsException
- if the operation failsprotected void removePolicyAction(String className) throws IfsException
className
- the fully-qualified class name of the PolicyActionIfsException
- if the operation failsprotected static void throwUnexpectedException(String methodname, Exception e) throws IfsException
Do not use.
methodname
- the exception payloade
- the base exceptionIfsException
- (IFS-9997) alwayspublic static void closeResultSet(ResultSet rset)
rset
- the ResultSetpublic static void closeStatement(Statement stmt)
stmt
- the Statementpublic static void closeStatement(StatementWrapper stmt)
stmt
- the StatementWrapperprotected static long getCurrentTime()
Copyright © 2023. All rights reserved.