|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectOpenCOM.OpenCOMComponent
public abstract class OpenCOMComponent
OpenCOM Component is a public abstract class that an OpenCOM developer can use to implement their components and prevent any code bloat. However, it is not a requirement of an OpenCOM component to extend this interface. Remember the only specification of an OpenCOM Component is that it implements IUnknown. Therefore, the developer can produce this anyway they see fit.
IOpenCOM,
IMetaInterface,
IMetaInterception,
IMetaArchitecture| Field Summary | |
|---|---|
protected OCM_SingleReceptacle<IOpenCOM> |
m_PSR_IOpenCOM
|
| Constructor Summary | |
|---|---|
OpenCOMComponent(IUnknown mpIOCM)
Creates a new instance of OpenCOMComponent |
|
| Method Summary | |
|---|---|
int |
enumIntfs(java.util.Vector<java.lang.Class> ppIntf)
Returns a Vector of meta-information. |
int |
enumRecps(java.util.Vector<OCM_RecpMetaInfo_t> ppRecpMetaInfo)
Returns a Vector of meta-information. |
java.util.Hashtable |
GetAllValues(java.lang.String Kind,
java.lang.String iid)
This method retrieves all the meta-data stored on the interface or receptacle. |
TypedAttribute |
GetAttributeValue(java.lang.String iid,
java.lang.String Kind,
java.lang.String Name)
Meta-data can be retrieved from each interface/receptacle of a component. |
java.lang.Object |
QueryInterface(java.lang.String InterfaceName)
Obtain a reference to the interface of the type passed as parameter |
boolean |
SetAttributeValue(java.lang.String iid,
java.lang.String Kind,
java.lang.String Name,
java.lang.String Type,
java.lang.Object Value)
Meta-data can be attached to each interface/receptacle of a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected OCM_SingleReceptacle<IOpenCOM> m_PSR_IOpenCOM
| Constructor Detail |
|---|
public OpenCOMComponent(IUnknown mpIOCM)
| Method Detail |
|---|
public java.lang.Object QueryInterface(java.lang.String InterfaceName)
QueryInterface in interface IUnknowninterfaceName - a string representing the Java interaface type, equivalent to the IID type in COM.
public int enumIntfs(java.util.Vector<java.lang.Class> ppIntf)
enumIntfs in interface IMetaInterfaceppRecpMetaInfo - a Vector to be filled with interface meta-information.
public int enumRecps(java.util.Vector<OCM_RecpMetaInfo_t> ppRecpMetaInfo)
enumRecps in interface IMetaInterfaceppRecpMetaInfo - a Vector to be filled with receptacle meta-information.
public boolean SetAttributeValue(java.lang.String iid,
java.lang.String Kind,
java.lang.String Name,
java.lang.String Type,
java.lang.Object Value)
SetAttributeValue in interface IMetaInterfaceiid - the type of the interface or receptacle.Kind - a string saying whether to attach to an interface or a receptacle.Name - A String describing the attribute name.Type - A String describing the attribute type.Value - An object representing the attribute value.
public TypedAttribute GetAttributeValue(java.lang.String iid,
java.lang.String Kind,
java.lang.String Name)
GetAttributeValue in interface IMetaInterfaceiid - the type of the interface or receptacle.Kind - a string saying whether to attach to an interface or a receptacle.Name - A String describing the attribute name.
public java.util.Hashtable GetAllValues(java.lang.String Kind,
java.lang.String iid)
GetAllValues in interface IMetaInterfaceiid - the type of the interface or receptacle.Kind - a string saying whether to attach to an interface or a receptacle.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||