Key

   
Key javax.xml.registry.infomodel

JAXR 1.0; JWSDP 1.0, J2EE 1.4
 public interface Key {  // Public Instance Methods  public abstract String getId(  )        throws javax.xml.registry.JAXRException;  //L0  public abstract void setId(String   id   )        throws javax.xml.registry.JAXRException;  //L0  } 

A Key object represents the unique key allocated to a RegistryObject when it is first added to the registry. The Key contains a string-valued identifier that can be retrieved using the getId( ) method and set using setId( ) . Changing the identifier has the effect of changing the object in the registry with which the RegistryObject is associated. In general, you should allow the registry to assign the key for a new registry object. However, ebXML registries also allow the registry client to specify the key.

Passed To

javax.xml.registry.BusinessQueryManager.{findServiceBindings( ) , findServices( )} , javax.xml.registry.RegistryException.setErrorObjectKey( ) , RegistryObject.setKey( )

Returned By

javax.xml.registry.LifeCycleManager.createKey( ) , javax.xml.registry.RegistryException.getErrorObjectKey( ) , RegistryObject.getKey( )


   


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