Service

   
RegistryPackage javax.xml.registry.infomodel

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


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net