Name

RegistryEntry

Synopsis

public interface RegistryEntry extends RegistryObject, Versionable {
// Public Constants
    public static final int STABILITY_DYNAMIC;
               //=0
    public static final int STABILITY_DYNAMIC_COMPATIBLE;
               //=1
    public static final int STABILITY_STATIC;
               //=2
    public static final int STATUS_APPROVED;
               //=1
    public static final int STATUS_DEPRECATED;
               //=2
    public static final int STATUS_SUBMITTED;
               //=0
    public static final int STATUS_WITHDRAWN;
               //=3
                  // Public Instance Methods
    public abstract java.util.Date getExpiration(  )
       throws javax.xml.registry.JAXRException;             //L1
    public abstract int getStability(  )
       throws javax.xml.registry.JAXRException;             //L1
    public abstract int getStatus(  )
       throws javax.xml.registry.JAXRException;             //L1
    public abstract void setExpiration(java.util.Date expiration)
       throws javax.xml.registry.JAXRException;             //L1
    public abstract void setStability(int stability)
       throws javax.xml.registry.JAXRException;             //L1
}

RegistryEntry is an interface that acts as a base for objects within the registry that require metadata beyond that provided by RegistryObject, of which it is an extension. The following additional attributes are provided:

Versioning

ExtensibleObject implements the Versionable interface, which allows a RegistryEntry to have major, minor, and user version numbers. See the description of the Versionable interface later in this chapter for further details.

Stability

The getStability( ) and setStability( ) methods manipulate a value that indicates whether the ...

Get Java Web Services in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.