|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ICFMetaInterface
The ICFMetaInterface interface is implemented by all composite components. It supports operations to inspect and make changes to a composite component framework's internal meta-representation of component architecture. Hence, it supports the architecture meta-model for invidual component frameworks.
| Method Summary | |
|---|---|
boolean |
access_CF_graph_lock(int index)
Each component framework implemnts a lock to prevent reconfiguration during functional operation. |
boolean |
break_local_bind(long connID)
This method disconnects two components only if they both reside in the framework and are connected. |
boolean |
commit_arch_transaction()
This method must be called by the reconfiguration agent at the end of the reconfiguration transaction. |
IUnknown |
create_component(java.lang.String className,
java.lang.String componentName)
This method creates the component within the framework. |
boolean |
delete_component(IUnknown pIUnknown)
This method deletas the component from the framework. |
boolean |
expose_interface(java.lang.String rintf,
IUnknown pComp)
This method takes the interface from one of the framework's internal components and then makes it one of its own functional interfaces. |
boolean |
expose_receptacle(java.lang.String rintf,
IUnknown pComp,
java.lang.String recpType)
This method takes the receptacle from one of the framework's internal components and then makes it one of its own receptacles. |
int |
get_bound_components(IUnknown comp,
java.util.Vector<CFMetaInterface.ConnectedComponent> ppConnections)
This method produces a list of components that are connected to a particular component within the framework. |
int |
get_exposed_interfaces(java.util.Vector<java.lang.String> ppIntfs)
This method fills the vector passed as a parameter with the list of interfaces exposed by this framework. |
int |
get_exposed_receptacles(java.util.Vector<CFMetaInterface.ExposedReceptacle> ppComps)
This method fills the vector passed as a parameter with the list of receptacles exposed by this framework. |
int |
get_internal_bindings(java.util.Vector<java.lang.Long> pConnIDS)
This method returns all of the internal connections between components that are wholly within the framework. |
int |
get_internal_components(java.util.Vector<IUnknown> ppComps)
This method fills the vector passed as a parameter with the references of all the components that reside locally within this framework. |
boolean |
init_arch_transaction()
All reconfigurations must be performed as part of a transaction. |
boolean |
insert_component(IUnknown pCompReference)
This method inserts a previously instantiated component from the runtime, into the framework instance. |
long |
local_bind(IUnknown pIUnkSource,
IUnknown pIUnkSink,
java.lang.String InterfaceType)
This method binds together two components only if they both reside in the framework. |
boolean |
release_CF_graph_lock(int index)
Releases the lock, previously acquired. |
boolean |
rollback_arch_transaction()
Rolls the configuration back to its previous state - ideally should not be called directly; maybe if faults are being detected is a supposedly valid architecture you may wish to try returning to a stable version. |
boolean |
unexpose_all_interfaces()
This method removes all exposed interfaces. |
boolean |
unexpose_all_receptacles()
This method removes all exposed receptacles. |
boolean |
unexpose_interface(java.lang.String rintf,
IUnknown pComp)
This method removes the exposed interface from the outer component framework, |
boolean |
unexpose_receptacle(java.lang.String rintf,
IUnknown pComp)
This method removes the exposed receptacle from the outer component framework, |
int |
update_readers_count(int Value)
Update the CF's locks readers count. |
| Method Detail |
|---|
int get_internal_components(java.util.Vector<IUnknown> ppComps)
ppComps - A vector to be filled with the references of inner components.
int get_bound_components(IUnknown comp,
java.util.Vector<CFMetaInterface.ConnectedComponent> ppConnections)
comp - Instance of the component we wish to find what is connected to it.ppConnections - Vector to be filled with the list of components that are connected to this component.
int get_internal_bindings(java.util.Vector<java.lang.Long> pConnIDS)
pConnIDS - A vector to be filled with long values describing the unique id of each connection.
int get_exposed_interfaces(java.util.Vector<java.lang.String> ppIntfs)
ppIntfs - A vector to be filled with the list of interfaces.
int get_exposed_receptacles(java.util.Vector<CFMetaInterface.ExposedReceptacle> ppComps)
ppComps - A vector to be filled with the list of receptacles.
long local_bind(IUnknown pIUnkSource,
IUnknown pIUnkSink,
java.lang.String InterfaceType)
pIUnkSource - The source component with the receptacle.pIUnkSink - The sink component with the interface.InterfaceType - The interface type to make the connection on.
IUnknownboolean break_local_bind(long connID)
connID - The unique ID of the connection to break.
IUnknown create_component(java.lang.String className,
java.lang.String componentName)
componentType - The type of the component to create.componentName - The unique name of the component to create.
IUnknownboolean insert_component(IUnknown pCompReference)
pCompReference - The reference of the component instance.
IUnknownboolean delete_component(IUnknown pIUnknown)
pIUnknown - The component instance to delete
IUnknown
boolean expose_interface(java.lang.String rintf,
IUnknown pComp)
rintf - The interface type that will be exposed.pComp - The internal component hosting the the interface.
IUnknown
boolean unexpose_interface(java.lang.String rintf,
IUnknown pComp)
rintf - The interface type that will be removed.pComp - The internal component hosting the the interface.
boolean unexpose_all_interfaces()
boolean expose_receptacle(java.lang.String rintf,
IUnknown pComp,
java.lang.String recpType)
rintf - The interface type that will be exposed.pComp - The internal component hosting the the interface.recpType - The type of the receptacle.
IUnknown
boolean unexpose_receptacle(java.lang.String rintf,
IUnknown pComp)
rintf - The interface type that will be removed.pComp - The internal component hosting the the receptacle.
boolean unexpose_all_receptacles()
boolean init_arch_transaction()
boolean commit_arch_transaction()
boolean rollback_arch_transaction()
boolean access_CF_graph_lock(int index)
accessType - An integer describing acces type: 0 for read, 1 for write.
boolean release_CF_graph_lock(int index)
accessType - An integer describing acces type: 0 for read, 1 for write.
int update_readers_count(int Value)
Value - increment amount.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||