Public Member Functions | |
OETreeNode[] | explodeTreeNode (OETreeNode node) |
javax.swing.JMenu | getEngineMenu () |
Invocation[] | getInvocations () |
OETreeNode[] | getTreeRoots () |
void | initialize () |
Package Functions | |
void | destroy () |
This is the primary interface that GUI can use to browse the remote objects. This interface contains methods that initialize the remote communication mechanism and browse the name space of remote objects. It also contains references to all transient objects (invocations). GUI should begin its operation by instantiation of one of the implementors of this interface. By passing it a reference to the
void si.ijs.acs.objectexplorer.engine.RemoteAccess.destroy | ( | ) | [package] |
Destroys the complete remote access interface. This includes the destruction of all transient remote objects (invocations) as well as destruction of all nodes. The implementor of this function is responsible for such proper destruction sequence.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.
OETreeNode [] si.ijs.acs.objectexplorer.engine.RemoteAccess.explodeTreeNode | ( | OETreeNode | node | ) |
Given a tree node in the name space of remote objects, create and initialize nodes that a given node contains. Note: this function will only construct the nodes, it will not set their parents or establish any kind of relationship between the argument node and the return values that is connected to the management of the tree structure. . This method should be called only on the first time that the node is expanded, because it will do some remote communication. The information will be cached. If the part of the tree should be rescanned / reconnected, the node should destroy its content and the next time the node is accessed, this function should be called again to reconstruct all node children.
node | a node for which this method will find children |
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.
Referenced by si.ijs.acs.objectexplorer.TreeHandlerBean.SubNodesSearching.run().
javax.swing.JMenu si.ijs.acs.objectexplorer.engine.RemoteAccess.getEngineMenu | ( | ) |
Return a special engine-specific menu to be displayed in the GUI
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.
Invocation [] si.ijs.acs.objectexplorer.engine.RemoteAccess.getInvocations | ( | ) |
Returns a list of all remote invocations managed by this remote access. The list contains all invocations, regardless of which introspectable instance they belong to.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.
OETreeNode [] si.ijs.acs.objectexplorer.engine.RemoteAccess.getTreeRoots | ( | ) |
Obtain the fist level of nodes in the hierarchy. These will be top level nodes displayed when the tree view is initialized in the GUI. Each node can be subsequently expanded with a call to explodeTreeNode()
.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.
void si.ijs.acs.objectexplorer.engine.RemoteAccess.initialize | ( | ) |
Explicit instruction for the engine implementation to start the communication with the remote system. Before any other call is made on this interface, initialize()
must be called by the GUI. This method should do any logins neccessary and should perform the lookup of the root nodes that will be returned upon the calls to getTreeRoots()
.
Implemented in si.ijs.acs.objectexplorer.engine.BACI.BACIRemoteAccess.