From: Trac K. <sw...@in...> - 2011-11-24 13:36:43
|
#348: Delegation of InputPort to AnalysisPlugin ---------------------------------+-------------------------- Reporter: jwa | Owner: Type: discussion | Status: new Priority: major | Milestone: Release 1.5 Component: software->analysis | Version: 1.5-SNAPSHOT Resolution: | Keywords: ---------------------------------+-------------------------- Comment (by jwa): Replying to [comment:1 avh]: > Some time ago ([wiki:Proposals/FilterArch]), we thought about using Java annotations for this purpose. These would be used to mark and configure input ports, e.g.: > > {{{ > @InputPort(name="myInputPort", types={MonitoringRecord.class}) > public void newEvent(Object event) { > > } > }}} > > In a later step, we might support this as an alternative way of declaring input ports. What do you think? I really like that one. It could lead to lean and readable code. -- Ticket URL: <http://samoa.informatik.uni-kiel.de/kieker/trac/ticket/348#comment:2> Kieker <http://samoa.informatik.uni-kiel.de/kieker/trac> The Kieker Monitoring Framework |