java.io.Serializable, Resource, SelfDescribingResource, SelfDescribingResourceV2public final class COMResource extends ResourceBase
COMResource class is used by a container to specify a
class type that can be exported from the COM runtime.
The toString format (which is produced by the ResourceBase
class) for a COM resource is:
type=<com>, application=, className=my.package.MyClass
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, valuesLIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClassName() |
Gets a fully-qualified classname of the Java class to be exported
to a COM client.
|
java.lang.String[] |
getKeys() |
Gets keys for the
COMResource. |
java.lang.String |
getType() |
Gets the type of this resource (
COMResource). |
protected Resource |
makeParent() |
Gets a
Resource object that represents the parent of the
current COMResource. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitappendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, toString, writeResourceStringpublic java.lang.String getType()
COMResource).protected Resource makeParent()
Resource object that represents the parent of the
current COMResource. If the resource does not have a parent, the value of
null must be returned.
The parentage hierarchy for the COMResource (that is, the values returned from
successive calls to this method) is:
type=<com>, application=, className=my.package
type=<com>, application=, className=my
type=<com>
makeParent in class ResourceBaseResource object of the parent resource.public java.lang.String[] getKeys()
COMResource.getKeys in interface ResourcegetKeys in class ResourceBaseCOMResource's keys.public java.lang.String getClassName()