public interface LicenseManager extends Remote
Session
Modifier and Type | Interface and Description |
---|---|
static class |
LicenseManager.LicenseBundle
License bundle structure containing name of license bundle and number of licenses checked out of the bundle.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getActiveLicensesInABundle(String bundleName)
Returns the list of checked out licenses from the given bundle
License requirements: None. |
LicenseManager.LicenseBundle[] |
getBundlesSelected()
Returns an array of license bundles in the form of a structure
LicenseManager.LicenseBundle that are currently selected
License requirements: None. |
String[] |
getBundlesUsed()
Returns the list of bundles that have licenses currently checked out
License requirements: None. |
String[] |
getReservedLicenses(String contextName)
Returns the licenses that are currently reserved against a context.
|
void |
release(String license,
String contextName)
Release a license against the specified license context.
|
void |
releaseAll(String contextName)
Release all licenses against the specified license context.
|
void |
reserve(String license,
String contextName)
Reserve a license against the specified license context.
|
void |
setBundlesForUse(String[] bundles)
Changes the existing license bundle selection.
|
void reserve(String license, String contextName) throws NXException, RemoteException
license
- License feature name to be reservedcontextName
- Name of context to reserve license against. Will use the default context if null is specified.NXException
RemoteException
void release(String license, String contextName) throws NXException, RemoteException
license
- License feature name to be releasedcontextName
- Name of context to release license against. Will use the default context if null is specified.NXException
RemoteException
void releaseAll(String contextName) throws NXException, RemoteException
contextName
- Name of context release to release. Will use the default context if null is specified.NXException
RemoteException
String[] getReservedLicenses(String contextName) throws NXException, RemoteException
contextName
- Name of context to release against. Will use the default context if null is specified.NXException
RemoteException
LicenseManager.LicenseBundle[] getBundlesSelected() throws NXException, RemoteException
LicenseManager.LicenseBundle
that are currently selected
NXException
RemoteException
void setBundlesForUse(String[] bundles) throws NXException, RemoteException
bundles
- The bundles are set in the same order as specifiedNXException
RemoteException
String[] getBundlesUsed() throws NXException, RemoteException
NXException
RemoteException
String[] getActiveLicensesInABundle(String bundleName) throws NXException, RemoteException
bundleName
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.