]
Aslak Knutsen updated ARQ-380:
------------------------------
Fix Version/s: 1.0.0.Alpha5
(was: 1.0.0.Beta1)
Core should support AroundInvoke style handlers of Events
---------------------------------------------------------
Key: ARQ-380
URL:
https://issues.jboss.org/browse/ARQ-380
Project: Arquillian
Issue Type: Feature Request
Components: Base Implementation
Affects Versions: 1.0.0.Alpha4
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 1.0.0.Alpha5
Core needs to support registration of Interceptors of Events, not only Event handlers.
This will allow for more controlled AroundInvoke operations, like Context
Activations/Deactivation.
{code}
public void around(@Observes EventContext<EventType> context)
{
try
{
// do something before
context.proceed(); // continue down the interceptor chain and eventually the handler
list
}
finally
{
// do something after
}
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: