Name
ExtensibleObject
Synopsis
public interface ExtensibleObject { // Public Instance Methods public abstract void addSlot(Slotslot
) throws javax.xml.registry.JAXRException; //L0 public abstract void addSlots(Collectionslots
) throws javax.xml.registry.JAXRException; //L0 public abstract Slot getSlot(StringslotName
) throws javax.xml.registry.JAXRException; //L0 public abstract Collection getSlots( ) throws javax.xml.registry.JAXRException; //L0 public abstract void removeSlot(StringslotName
) throws javax.xml.registry.JAXRException; //L0 public abstract void removeSlots(CollectionslotNames
) throws javax.xml.registry.JAXRException; //L0 }
ExtensibleObject
is the interface from which all
objects that reside in the registry are derived. The methods of this
interface provide for the association with a registry object of
attributes that are not explicitly defined in the JAXR API. An
ExtensibleObject
may have any number of these
attributes, which are represented by the Slot
interface. Slot
s are created and added by the JAXR
provider and may also be used by application code, although not all
JAXR providers will store application-created
Slot
s in the registry.
Slot
s can be added to an
ExtensibleObject
either singly using the
addSlot( )
method or as a group by calling
addSlots( )
; they can be removed using
removeSlot( )
or removeSlots( )
. Both of these methods use the name of the
Slot
as the key. The getSlot( )
method locates a Slot
given its name and returns
null
if no slot with the supplied ...
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.