org.apache.geronimo.naming.java
Class ComponentContextInterceptor

java.lang.Object
  extended by org.apache.geronimo.naming.java.ComponentContextInterceptor
All Implemented Interfaces:
org.apache.geronimo.interceptor.Interceptor

public class ComponentContextInterceptor
extends Object
implements org.apache.geronimo.interceptor.Interceptor

An interceptor that pushes the current component's java:comp context into the java: JNDI namespace


Constructor Summary
ComponentContextInterceptor(org.apache.geronimo.interceptor.Interceptor next, Context compContext)
          Constructor specifying the components JNDI Context (java:comp)
 
Method Summary
 org.apache.geronimo.interceptor.InvocationResult invoke(org.apache.geronimo.interceptor.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentContextInterceptor

public ComponentContextInterceptor(org.apache.geronimo.interceptor.Interceptor next,
                                   Context compContext)
Constructor specifying the components JNDI Context (java:comp)

Parameters:
compContext - the component's JNDI Context
Method Detail

invoke

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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.