Interface ProxyProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, ProxyProfile, Sourceable
The proxy proxy manager provides access to proxy sessions and provides
interoperability tests for various aspects of this service. Methods in
this manager support the passing of a Proxy . The sessions
included in this manager are:
-
ProxySession: a session to acquire proxies
-
Method Summary
Modifier and TypeMethodDescriptiongetProxySession(Proxy proxy) Gets theOsidSessionassociated with theProxySessionusing the suppliedProxy.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface ProxyProfile
getProxyConditionRecordTypes, getProxyRecordTypes, supportsProxy, supportsProxyConditionRecordType, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets the supportedProxyConditionrecord interface types.Gets the supportedProxyrecord interface types.booleanTests if a proxy session is supported.booleansupportsProxyConditionRecordType(Type proxyConditionRecordType) Tests if the givenProxyConditionrecord interface type is supported.booleansupportsProxyRecordType(Type proxyRecordType) Tests if the givenProxyrecord interface type is supported.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getProxySession
Gets theOsidSessionassociated with theProxySessionusing the suppliedProxy.- Parameters:
proxy- proxy- Returns:
- a
ProxySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProxy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProxy()} is {@code true} .
-