Interface TypeProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable, TypeProfile
This manager provides access to the available sessions of the type
service. Methods in this manager support the passing of a Proxy
object for the purpose of passing information from a server environment.
The TypeLookupSession is used for looking up Types and the
TypeAdminSession is used for managing and registering new Types.
TypeProxyManager may be accessed by multiple processing threads.-
Method Summary
Modifier and TypeMethodDescriptiongetTypeAdminSession(Proxy proxy) Gets theOsidSessionassociated with theTypeAdminservice.getTypeLookupSession(Proxy proxy) Gets theOsidSessionassociated with the type lookup service.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, getProxy, getProxyCondition, initialize, rollbackServiceMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdMethods inherited from interface TypeProfile
supportsTypeAdmin, supportsTypeLookup
-
Method Details
-
getTypeLookupSession
Gets theOsidSessionassociated with the type lookup service.- Parameters:
proxy- a proxy- Returns:
- a
TypeLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsTypeLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTypeLookup()} is {@code true}.
-
getTypeAdminSession
Gets theOsidSessionassociated with theTypeAdminservice.- Parameters:
proxy- a proxy- Returns:
- the new
TypeAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsTypeAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTypeAdmin()} is {@code true}.
-