Chapter 13. The javax.xml.rpc Package

   
Versionable javax.xml.registry.infomodel

JAXR 1.0; JWSDP 1.0, J2EE 1.4
 public interface Versionable {  // Public Instance Methods  public abstract int getMajorVersion( )        throws javax.xml.registry.JAXRException;  //L1  public abstract int getMinorVersion(  )        throws javax.xml.registry.JAXRException;  //L1  public abstract String getUserVersion( )        throws javax.xml.registry.JAXRException;  //L1  public abstract void setMajorVersion(int   majorVersion   )        throws javax.xml.registry.JAXRException;  //L1  public abstract void setMinorVersion(int   minorVersion   )        throws javax.xml.registry.JAXRException;  //L1  public abstract void setUserVersion(String   userVersion   )        throws javax.xml.registry.JAXRException;  //L1  } 

Some RegistryObject s, specifically those derived from RegistryEntry , include version information, access to which is possible using the methods of the Versionable interface. The major and minor version numbers , which can be read and set using the getMajorVersion( ) , getMinorVersion( ) , setMajorVersion( ) , and setMinorVersion( ) methods, are intended to be maintained by the registry and may be modified by the registry as changes are made to the object. By contrast, there is also a user version number, which is intended to be a number that might be quoted to a registry user . This value is manipulated using the getUserVersion( ) and setUserVersion( ) methods and is not modified by the registry itself. Versioning is a level 1 registry feature.

Implementations

RegistryEntry


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net