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: 1.2 $ $Date: 2004/07/07 22:17:35 $
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-2005 OpenEJB. All Rights Reserved.