public class DefaultObjectFactory extends Object implements IMutableObjectFactory
| Modifier and Type | Field and Description |
|---|---|
protected Map |
ir_rt |
protected Map |
mappings |
protected Map |
rt_cr |
protected Map |
rt_ir |
| Constructor and Description |
|---|
DefaultObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
as(Class classRef,
IResource resource) |
boolean |
isA(Class interfaceRef,
IResource resource)
Get the A attribute of the DefaultTypeCastProvider object.
|
protected boolean |
isA(Class interfaceRef,
String resourceType)
Checks if a mapping exists from resourceType to classRef.
|
Collection |
listTypes(IResource resource) |
void |
registerClass(String resourceType,
Class classRef) |
void |
registerClass(String resourceType,
Class classRef,
Vector interfaces) |
protected Map mappings
protected Map rt_cr
protected Map rt_ir
protected Map ir_rt
public boolean isA(Class interfaceRef, IResource resource) throws ResourceException
isA in interface IObjectFactoryresource - interfaceRef - ResourceException - Exception raised in failure situationpublic Object as(Class classRef, IResource resource) throws ResourceException
as in interface IObjectFactoryclassRef - resource - ResourceException - Exception raised in failure situationpublic Collection listTypes(IResource resource)
listTypes in interface IObjectFactoryresource - public void registerClass(String resourceType, Class classRef) throws SoException
registerClass in interface IMutableObjectFactoryresourceType - classRef - SoException - Exception raised in failure situationpublic void registerClass(String resourceType, Class classRef, Vector interfaces) throws SoException
registerClass in interface IMutableObjectFactoryresourceType - classRef - interfaces - SoException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice