Name
Key
Synopsis
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( )
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.