Class PxpWrapper
- java.lang.Object
-
- de.fraunhofer.iese.mydata.internal.PxpWrapper
-
- All Implemented Interfaces:
de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
,de.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint
public class PxpWrapper extends Object implements de.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint
- See Also:
MyDataComponentWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected T
alreadyRightTypedReference
-
Constructor Summary
Constructors Constructor Description PxpWrapper(de.fraunhofer.iese.mydata.component.ComponentId componentId, Object instanceToWrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
callServiceMethod(String methodName, de.fraunhofer.iese.mydata.policy.parameter.ParameterList parameters)
boolean
execute(de.fraunhofer.iese.mydata.policy.decision.ExecuteAction action)
de.fraunhofer.iese.mydata.component.health.HealthStatus
getHealth()
de.fraunhofer.iese.mydata.component.ComponentId
getId()
List<de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription>
getMethodInterfaceDescriptions()
Retrieve the automatically discovered MethodInterfaceDescriptionsboolean
reset()
-
-
-
Constructor Detail
-
PxpWrapper
public PxpWrapper(de.fraunhofer.iese.mydata.component.ComponentId componentId, Object instanceToWrap) throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
- Throws:
de.fraunhofer.iese.mydata.exception.InvalidEntityException
-
-
Method Detail
-
execute
public boolean execute(de.fraunhofer.iese.mydata.policy.decision.ExecuteAction action) throws IOException
- Specified by:
execute
in interfacede.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint
- Throws:
IOException
-
getMethodInterfaceDescriptions
public List<de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription> getMethodInterfaceDescriptions()
Retrieve the automatically discovered MethodInterfaceDescriptions- Returns:
- The automatically discovered MethodInterfaceDescriptions
-
callServiceMethod
protected Object callServiceMethod(String methodName, de.fraunhofer.iese.mydata.policy.parameter.ParameterList parameters) throws de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
- Throws:
de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
-
getHealth
public de.fraunhofer.iese.mydata.component.health.HealthStatus getHealth() throws IOException
- Specified by:
getHealth
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
-
getId
public de.fraunhofer.iese.mydata.component.ComponentId getId() throws IOException
- Specified by:
getId
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
-
reset
public boolean reset() throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException
- Specified by:
reset
in interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
- Throws:
IOException
de.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
-