Class PipWrapper
- java.lang.Object
-
- de.fraunhofer.iese.mydata.internal.PipWrapper
-
- All Implemented Interfaces:
IMyDataComponent
,IPolicyInformationPoint
public class PipWrapper extends Object implements IPolicyInformationPoint
- See Also:
MyDataComponentWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected T
alreadyRightTypedReference
-
Constructor Summary
Constructors Constructor Description PipWrapper(ComponentId componentId, Object instanceToWrap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
callServiceMethod(String methodName, ParameterList parameters)
DataObject<?>
evaluate(PipRequest request)
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
-
PipWrapper
public PipWrapper(ComponentId componentId, Object instanceToWrap) throws InvalidEntityException
- Throws:
InvalidEntityException
-
-
Method Detail
-
evaluate
public DataObject<?> evaluate(PipRequest request) throws IOException, InformationUndeterminableException
- Specified by:
evaluate
in interfaceIPolicyInformationPoint
- Throws:
IOException
InformationUndeterminableException
-
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
-
-