public interface Introspectable extends SimpleIntrospectable
SimpleIntrospectable
interface and adds the connection capability to the parent
interface. While the simple introspectable cannot
connect to the remote object by itself and needs to obtain
the remote reference from another introspectable, instances
of this interface have the described capability. For example,
it is impossible to establish connection to transient
objects, such as those represented by Invocations.
These are for instance control objects that are returned when
subscription is created in publish / subscribe design pattern.
The reference to transient objects is obtained by creating a
transient object on an introspectable.
Introspectables also follow a life cycle convention: when
an introspectable is returned by the remote access interface
it must be connected before its introspective functions
are called. It must be disconnected when it is no longer
used. GUI defines when a remote object is no longer needed.
Note that there is no one-to-one correspondence between
the introspectable instances and tree nodes, because tree
nodes can exist that are not introspectables
(as artefacts of the naming service, for instance).| Modifier and Type | Method and Description |
|---|---|
void |
connect()
When this method is called, the engine implementation
must obtain all relevant information from the remote
system to initialize this instance.
|
void |
disconnect()
Call when the introspectable is no longer used.
|
boolean |
isConnected()
This method is needed by the OE GUI to render tree cells according to
the connection state of the node, and to show an appropriate popup menu
|
boolean |
isNonSticky()
This method is needed by the OE GUI to render tree cells according to
the connection state of the node, and to show an appropriate popup menu
|
getAttributes, getName, getOperationsvoid connect()
void disconnect()
boolean isConnected()
boolean isNonSticky()