***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information
Class MetadataChangeEvent

com.sas.services.information.MetadataChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class MetadataChangeEvent
implements java.io.Serializable

This event is used by the repository instances to keep their caches synchronized. If a repository updates information in the backend repository, they notify the Information Service which then notifies all the other repository instances that are interested in changes to the data item.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
MetadataChangeEvent(java.lang.String url, java.lang.String repositoryId)
          Construct a new event.
 
Method Summary
 java.lang.String getRepositoryId()
          Get the repository ID of the object that was changed.
 java.lang.String getUrl()
          Get the URL of the repository that updated the data.
 

Constructor Detail

MetadataChangeEvent

public MetadataChangeEvent(java.lang.String url,
                           java.lang.String repositoryId)
Construct a new event.

Parameters:
url - The URL of the repository that changed the data.
repositoryId - The ID of the object that changed.
Method Detail

getUrl

public java.lang.String getUrl()
Get the URL of the repository that updated the data.

Returns:
The repository URL.

getRepositoryId

public java.lang.String getRepositoryId()
Get the repository ID of the object that was changed.

Returns:
The object repsitory ID.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.