Name
ExtrinsicObject
Synopsis
public interface ExtrinsicObject extends RegistryEntry { // Public Instance Methods public abstract String getMimeType( ) throws javax.xml.registry.JAXRException; //L1 public abstract javax.activation.DataHandler getRepositoryItem( ) throws javax.xml.registry.JAXRException; //L1 public abstract boolean isOpaque( ) throws javax.xml.registry.JAXRException; //L1 public abstract void setMimeType(StringmimeType
) throws javax.xml.registry.JAXRException; //L1 public abstract void setOpaque(booleanisOpaque
) throws javax.xml.registry.JAXRException; //L1 public abstract void setRepositoryItem(javax.activation.DataHandlerrepositoryItem
) throws javax.xml.registry.JAXRException; //L1 }
Most of the interfaces in the
javax.xml.registry.infomodel
package represent
data that is held within the registry itself and is of a type that
the registry understands. This is not the case for an
ExtrinsicObject
. The
ExtrinsicObject
interface represents information
that does not have any meaning to and is not interpreted by the
registry, which treats it simply as data and stores it in an
associated repository from which it can be retrieved on demand. To
add an ExtrinsicObject
to the registry, use the
LifeCycleManager
createExtrinsicObject( )
method, which requires a DataHandler
that can be used to retrieve the data to be written to the repository
as a byte stream. Once a ExtrinsicObject
is
created, you can use the getRepositoryItem( )
method to get a DataHandler
that retrieves its ...
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.