Previous section   Next section
CapabilityProfile javax.xml.registry

JAXR 1.0; JWSDP 1.0, J2EE 1.4
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( )


  Previous section   Next section