org.openejb.security
Class PolicyContextHandlerEJBInterceptor

java.lang.Object
  extended byorg.openejb.security.PolicyContextHandlerEJBInterceptor
All Implemented Interfaces:
org.apache.geronimo.core.service.Interceptor

public class PolicyContextHandlerEJBInterceptor
extends Object
implements org.apache.geronimo.core.service.Interceptor

A simple interceptor that sets up the PolicyContextHandlerEnterpriseBean and PolicyContextHandlerEJBArguments so that it can return the proper EJB information to the policy provider. This code is placed in a seperate interceptor as a optimization for those policy providers that do not need such fine grained control over method invocations.

Version:
$Revision: 444791 $ $Date: 2004-07-08 00:17:36 +0200 (Thu, 08 Jul 2004) $
See Also:
PolicyContextHandlerEnterpriseBean, PolicyContextHandlerEJBArguments, EJBSecurityInterceptor

Constructor Summary
PolicyContextHandlerEJBInterceptor(org.apache.geronimo.core.service.Interceptor next)
           
 
Method Summary
 org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyContextHandlerEJBInterceptor

public PolicyContextHandlerEJBInterceptor(org.apache.geronimo.core.service.Interceptor next)
Method Detail

invoke

public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
                                                         throws Throwable
Specified by:
invoke in interface org.apache.geronimo.core.service.Interceptor
Throws:
Throwable


Copyright © 1999-2006 OpenEJB. All Rights Reserved.