Class PipWrapper
- java.lang.Object
-
- de.fraunhofer.iese.mydata.internal.PipWrapper
-
- All Implemented Interfaces:
de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
,de.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint
public class PipWrapper extends Object implements de.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint
- See Also:
MyDataComponentWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected T
alreadyRightTypedReference
-
Constructor Summary
Constructors Constructor Description PipWrapper(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)
de.fraunhofer.iese.mydata.policy.parameter.DataObject<?>
evaluate(de.fraunhofer.iese.mydata.policy.PipRequest request)
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
-
PipWrapper
public PipWrapper(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
-
evaluate
public de.fraunhofer.iese.mydata.policy.parameter.DataObject<?> evaluate(de.fraunhofer.iese.mydata.policy.PipRequest request) throws IOException, de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
- Specified by:
evaluate
in interfacede.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint
- Throws:
IOException
de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
-
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
-
-