What's New |
Overview |
The SAS 9.2 Java Metadata Interface was enhanced to be more efficient in a multi-user environment. In addition, it surfaces new metadata access functionality that was added to the SAS Open Metadata Interface in a Java environment.
General Enhancements |
Specific changes and enhancements are as follows:
The static and remote versions of the SAS Java Metadata Interface have been reconciled to use the same methods to perform the same actions. Use of the remote version is recommended over the use of the static version. This document addresses the use of the remote version. For more information about the remote and static versions, see SAS Java Metadata Interface Overview.
The MdServerStore class is deprecated. Clients should no longer interact directly with the ServerStore.
Two new utility classes are available in the MdFactory interface. The MdSecurityUtil class contains methods that return quick authorizations on the caller's ability to read a metadata object, write a metadata object, and add a metadata object to a folder. The MdRepositoryUtil class contains methods for getting the repository type, name, and metadata object identifier using the inverse information.
The MdObjectFactoryListener is deprecated and replaced by MdFactoryListener. MdFactoryListener can be used to notify all users of a factory when objects are added, updated, or deleted on the SAS Metadata Server.
A new getServerModelVersion() method replaces the getServerVersion() method, which was used to return the SAS Metadata Model version number in use by the SAS session.
A new getPlatformVersion() method returns the version number of the active SAS Metadata Server.
Several new methods were added to the MdOMIUtil interface:
The getFoundationRepository() and getFoundationReposID() methods get the foundation repository.
The getMetadataNoCache() and getMetadataObjectsNoCache() methods provide quick retrieval of metadata object attributes and associations in a map. These two methods do not cache any data within an object store.
The getObjectPath() method returns the path of an object that resides in the SAS folder tree.
The getResponsibleParty() method gets the ResponsibleParty object associated with the specified Identity and Responsibility.
The getUserHomeFolders() method retrieves the home folder or specific subfolder for the specified user, or creates the folder if it cannot be found.
The MdOMRConnection interface supports a new method, makeISecurityAdminConnection, to connect to the SAS Metadata Server with the new SAS 9.2 Open Metadata Interface ISecurityAdmin interface. The MdOMRConnection interface has methods to connect with the ISecurity and IServer server interfaces. For information about the makeISecurityAdminConnection method, see Security Administration (ISecurityAdmin Interface).
To use the SAS 9.2 Java Metadata Interface effectively, you should be familiar with enhancements to the SAS Open Metadata Interface and SAS 9.2 Metadata Model. See What's New in the SAS 9.2 Open Metadata Interface: Reference and Usage and What's New in the SAS 9.2 Metadata Model for this information.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.