Related features are grouped into a capability.
- Each capability is represented by a Java interface type.
- Each feature is represented by a method of the Java interface type.
Examples : xxLifeCycleManager, xxQueryManager
JAXR categorizes capabilities into a small set of capability profiles. Capability profile is a set of capabilities.
Two capability profiles defined in JAXR :
- Level 0 profile for basic features (Business interface)
- Level 1 profile for advanced features (Generic interface)
Level 0 Profile (Business Interface)
- Must be supported by all JAXR providers
- Applications that use only methods defined in Level 0 profile are portable over all JAXR providers.
- Provides basic registry capabilities
- Interfaces are defined in JAXR Business API
- JAXR providers for UDDI must be level 0 compliant
Level 1 Profile (Generic Interface)
- Optionally, supported by JAXR provider
- Provides advanced registry capabilities
- Implies support of Level 0 profile
- Interfaces are defined in JAXR Generic API
- JAXR providers for ebXML must be level 1 compliant
JAXR Provider must implement Capability profile in its entirety.
JAXR Provider must not implement methods beyond its declared capability profile
- Must throw UnsupportedCapabilityException when a method that is not supported is invoked
- Ensures portability of JAXR application
CapabilityProfile Interface
- Implemented by JAXR provider
- Used by JAXR client to find the capability level of a JAXR provider
No comments:
Post a Comment
Note: only a member of this blog may post a comment.