All Packages Class Hierarchy This Package Previous Next Index
BaseCollection
that
allows the client to explicitly specify a key in the
createManaged() signitures.
If for any reason, the BaseCollection cannot create the Managed object, it returns null.
public abstract Managed createFromCopy(Object creator, String key, Manageable copy, String classKey) throws InvalidKeyError, RequestedInterfaceError
This method associates an client-provided Identifier key with the Managed object that is unique within the target NameBaseCollection.
If for any reason, the BaseCollection cannot create the Managed object, it returns null.
Manageable
object containing the
data used to initialize the created Managed object. After this call the
BaseCollection "owns" the passed in object, and the caller
should forget its reference to the object passed in (use the return
value instead).
The BaseCollection either may use the object as the internally cached version of the Managed object, or may just get the data out of the object and throw the object away. In either case, the object needs to support the externalizeToStream() and interalizeFromStream() methods.
string
indicating
the interface for the new Managed object.
Managed
object that should be used in
place of the object passed in.
public abstract Managed createFromData(Object creator, String key, InputEDStream initialData, String classKey) throws InvalidKeyError, EDStreamFormatError, RequestedInterfaceError
If for any reason, the BaseCollection cannot create the Managed object, it returns null.
InputEDStream
containing the
initial data for the newly created Managed object.
string
used to
specify the expected interface for the new Managed object (useful in
building proxies without any network traffic until a method call is
made on the returned object).
Managed
object that should be used in
place of the object passed in.
public abstract Managed createFromDefault(Object creator, String key, String classKey) throws InvalidKeyError, RequestedInterfaceError
All Packages Class Hierarchy This Package Previous Next Index