Class Fedora.DigitalObject.DisseminatorShadow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Fedora.DigitalObject.DisseminatorShadow

Object
   |
   +----ObjectImpl
           |
           +----DynamicImplementation
                   |
                   +----_StandardDisseminatorSkeleton
                           |
                           +----_StandardDisseminatorImplBase
                                   |
                                   +----StandardDisseminatorImpl
                                           |
                                           +----Fedora.DigitalObject.DisseminatorShadow

public class DisseminatorShadow
extends StandardDisseminatorImpl
implements Serializable
A DisseminatorShadow object is a light-weight proxy for a Disseminator component (i.e., StandardDisseminator, ServletDisseminator, or SignatureDisseminator). The DisseminatorShadow is stored in a DigitalObject.

The DisseminatorShadow contains identifying attributes of the Disseminator, namely the component ID (system assigned), the DisseminatorID, the ServletID, the DisseminatorKind, and the parent DigitalObjectID. The shadow object does not contain the attached DataStreams. The shadow object has a method to load the full Disseminator from persistent storage. This helps performance by allowing full Disseminators (that include an array of associated DataStreams) to be instantiated only as needed in the DigitalObject. So, when a DigitalObject is instantiated, we do not get a mass instantiation of full Disseminators from persistent storage.

See Also:
StandardDisseminator, ServletDisseminator, SignatureDisseminator

Constructor Index

 o Fedora.DigitalObject.DisseminatorShadow(StandardDisseminatorImpl)
Constructor for DisseminatorShadow.

Method Index

 o LoadDisseminator()
Loads the full Disseminator (represented by this shadow object) from persistent storage.

Constructors

 o DisseminatorShadow
protected DisseminatorShadow(StandardDisseminatorImpl disseminator) throws RepositorySystemError
Constructor for DisseminatorShadow. Creates a new DisseminatorShadow object to be stored inside a DigitalObject in place of the full Disseminator.

Parameters:
disseminator - the Disseminator object the the shadow object will represent

Methods

 o LoadDisseminator
protected Fedora.DigitalObject.StandardDisseminatorImpl LoadDisseminator() throws RepositorySystemError
Loads the full Disseminator (represented by this shadow object) from persistent storage.

Returns:
an instance of the Disseminator represented by this DisseminatorShadow.

All Packages  Class Hierarchy  This Package  Previous  Next  Index