org.jboss.reliance.drools.core.aspects
Class StatefulSessionCreationInterceptor

java.lang.Object
  extended by org.jboss.reliance.drools.core.aspects.StatefulSessionCreationInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class StatefulSessionCreationInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

Statefull session wrapper interceptor.

Author:
Ales Justin

Constructor Summary
StatefulSessionCreationInterceptor()
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          Wrap stateful session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulSessionCreationInterceptor

public StatefulSessionCreationInterceptor()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Wrap stateful session.

Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Parameters:
invocation - the invocation
Returns:
invocation's result
Throws:
Throwable - for any exception


Copyright © 2008 JBoss Inc.. All Rights Reserved.