Class PxpWrapper
- java.lang.Object
-
- de.fraunhofer.iese.mydata.internal.PxpWrapper
-
- All Implemented Interfaces:
IMyDataComponent
,IPolicyExecutionPoint
public class PxpWrapper extends Object implements IPolicyExecutionPoint
- See Also:
MyDataComponentWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected T
alreadyRightTypedReference
-
Constructor Summary
Constructors Constructor Description PxpWrapper(ComponentId componentId, Object instanceToWrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
callServiceMethod(String methodName, ParameterList parameters)
boolean
execute(ExecuteAction action)
HealthStatus
getHealth()
ComponentId
getId()
List<MethodInterfaceDescription>
getMethodInterfaceDescriptions()
Retrieve the automatically discovered MethodInterfaceDescriptionsboolean
reset()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
getHealth, getId, reset
-
-
-
-
Field Detail
-
alreadyRightTypedReference
protected final T extends IMyDataComponent alreadyRightTypedReference
-
-
Constructor Detail
-
PxpWrapper
public PxpWrapper(ComponentId componentId, Object instanceToWrap) throws InvalidEntityException
- Throws:
InvalidEntityException
-
-
Method Detail
-
execute
public boolean execute(ExecuteAction action) throws IOException
- Specified by:
execute
in interfaceIPolicyExecutionPoint
- Throws:
IOException
-
getMethodInterfaceDescriptions
public List<MethodInterfaceDescription> getMethodInterfaceDescriptions()
Retrieve the automatically discovered MethodInterfaceDescriptions- Returns:
- The automatically discovered MethodInterfaceDescriptions
-
callServiceMethod
protected Object callServiceMethod(String methodName, ParameterList parameters) throws InformationUndeterminableException
-
getHealth
public HealthStatus getHealth() throws IOException
- Specified by:
getHealth
in interfaceIMyDataComponent
- Throws:
IOException
-
getId
public ComponentId getId() throws IOException
- Specified by:
getId
in interfaceIMyDataComponent
- Throws:
IOException
-
reset
public boolean reset() throws IOException, NoSuchEntityException
- Specified by:
reset
in interfaceIMyDataComponent
- Throws:
IOException
NoSuchEntityException
-
-