Name

CapabilityProfile

Synopsis

public interface CapabilityProfile {
// Public Instance Methods
    public abstract int getCapabilityLevel(  ) throws JAXRException;    // L0
    public abstract String getVersion(  ) throws JAXRException;         // L0
}

CapabilityProfile provides two methods that return information about the JAXR provider. The getCapabilityLevel( ) methods return the highest capability level that the provider implements. A UDDI provider, like the one provided with the JAXR reference implementation, returns 0, while an ebXML provider returns 1. The getVersion( ) method returns the version of the JAXR specification that the provider implements, such as JAXR Version 1.0.

Returned By

RegistryService.getCapabilityProfile( )

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.