|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectReferenceFactory
The ObjectReferenceFactory
valuetype provides the capability to create new object
references, while the ObjectReferenceTemplate
valuetype extends the factory
capability with the identity of the template. This division is convenient because the
current_factory
attribute in IORInfo
only requires the capability to create an
object reference, while the adapter_template
attribute also requires identity information.
The ObjectReferenceFactory
provides only the capability to create an object
reference. Note that a factory is immutable: after it has been created, it cannot be
modified.
Also, note that it is possible to create a concrete valuetype (unknown to the ORB
implementation) that subclasses the ObjectReferenceFactory
valuetype, and to use
this factory in the IOR interceptor as current_factory
. In such cases, the implementation
must either be immutable after it is created, or the implementation must not change the behavior of
make_object
. Failure to observe this requirement may result in undefined behavior.
Method Summary | |
---|---|
Object |
make_object(java.lang.String repository_id,
byte[] id)
Creates an Object Reference from this factory using the given repository ID and object ID. |
Methods inherited from interface org.omg.CORBA.portable.ValueBase |
---|
_truncatable_ids |
Method Detail |
---|
Object make_object(java.lang.String repository_id, byte[] id)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |