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 TalreadyRightTypedReference
-
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 ObjectcallServiceMethod(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.HealthStatusgetHealth()de.fraunhofer.iese.mydata.component.ComponentIdgetId()List<de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription>getMethodInterfaceDescriptions()Retrieve the automatically discovered MethodInterfaceDescriptionsbooleanreset()
-
-
-
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:
evaluatein interfacede.fraunhofer.iese.mydata.component.interfaces.IPolicyInformationPoint- Throws:
IOExceptionde.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:
getHealthin interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent- Throws:
IOException
-
getId
public de.fraunhofer.iese.mydata.component.ComponentId getId() throws IOException- Specified by:
getIdin interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent- Throws:
IOException
-
reset
public boolean reset() throws IOException, de.fraunhofer.iese.mydata.exception.NoSuchEntityException- Specified by:
resetin interfacede.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent- Throws:
IOExceptionde.fraunhofer.iese.mydata.exception.NoSuchEntityException
-
-