Name
RegistryPackage
Synopsis
public interface RegistryPackage extends RegistryEntry { // Public Instance Methods public abstract void addRegistryObject(RegistryObjectregistryObject
) throws javax.xml.registry.JAXRException; //L1 public abstract void addRegistryObjects(CollectionregistryObjects
) throws javax.xml.registry.JAXRException; //L1 public abstract Set getRegistryObjects( ) throws javax.xml.registry.JAXRException; //L1 public abstract void removeRegistryObject(RegistryObjectregistryObject
) throws javax.xml.registry.JAXRException; //L1 public abstract void removeRegistryObjects(CollectionregistryObjects
) throws javax.xml.registry.JAXRException; //L1 }
RegistryPackage
is an interface supported by level
1 JAXR providers. It allows a set of
RegistryObject
s to be logically grouped together.
An empty RegistryPackage
can be created using the
LifeCycleManager
createRegistryPackage( )
method, and entries can be added to it by calling
addRegistryObject( )
or
addRegistryObjects( )
. To remove items from the
package, use removeRegistryObject( )
or
removeRegistryObjects( )
. The benefits of a
RegistryPackage
include the ability to version it
or to indicate its stability, using methods provided by the
RegistryEntry
interface, which it extends. You can
also use the getRegistryObjects( )
method to get a
list of the objects that it contains. Since a
RegistryPackage
is a
RegistryObject
, it is possible to nest one package
inside another.
Returned By
javax.xml.registry.LifeCycleManager.createRegistryPackage( ...
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.