Name
RegistryPackage
Synopsis
public interface RegistryPackage extends RegistryEntry {
// Public Instance Methods
public abstract void addRegistryObject(RegistryObject registryObject)
throws javax.xml.registry.JAXRException; //L1
public abstract void addRegistryObjects(Collection registryObjects)
throws javax.xml.registry.JAXRException; //L1
public abstract Set getRegistryObjects( )
throws javax.xml.registry.JAXRException; //L1
public abstract void removeRegistryObject(RegistryObject registryObject)
throws javax.xml.registry.JAXRException; //L1
public abstract void removeRegistryObjects(Collection registryObjects)
throws javax.xml.registry.JAXRException; //L1
}RegistryPackage is an interface supported by level
1 JAXR providers. It allows a set of
RegistryObjects 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( ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access