Interface IPort<AComponent>
- Type Parameters:
AComponent
-
- All Superinterfaces:
Remote
,Serializable
- All Known Subinterfaces:
IPerformancePrototypePort<AComponent>
- All Known Implementing Classes:
AbstractBasicPort
,AbstractPerformancePrototypeBasicPort
Port interface.
TODO: Add another parameter for context class. Currently type safety is checked at runtime.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the component of this port.void
setContext
(Object myContext) Inject the context into this port (and therefore into the component).
-
Method Details
-
setContext
Inject the context into this port (and therefore into the component).- Parameters:
myContext
- context object.- Throws:
RemoteException
-
getComponent
Returns the component of this port.- Returns:
- Throws:
RemoteException
-