|
|
|||||||||||
About com.ms.licenseThis package includes classes that support Java object licensing files. Licensing files are used to license a java class, package, or archive to a particular user or for a trial period (or both). Java object license files are stored in an encrypted Extended Markup Language (.xml) file with the following format: <license> <licensedescriptor> <name>name</name> <type>CLASS|PACKAGE|ARCHIVE</type> <style>DESIGN|RUNTIME</style> <server>URL</server> <user>username</user> <date>date</date> <key>key-string</key> </licensedescriptor> </license> The .xml file must be named license.xml, and either be located in the same directory as the files that it licenses, or at an URL specified in License.validate. License.xml may have only one <license> tag pair, but as many <licensedescriptor> pairs as needed to license the contents of the current directory. Licenses may be either RUNTIME or DESIGN. If the style is DESIGN, the license is checked when the container is in design mode. If the style is RUNTIME, the license manager will fail and throw a LicenseException (this prevents developers from incorporating a runtime component into an application). Classes
Interfaces
HierarchyObject | +--License Exception | +--LicenseException LicenseDescriptor LicenseManager
|
© 1998 Microsoft Corporation. All rights reserved. Terms of use. |