Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

au.edu.educationau.belts.container.ejb
Class EJBContextInterceptor  view EJBContextInterceptor download EJBContextInterceptor.java

java.lang.Object
  extended byau.edu.educationau.belts.container.ejb.EJBContextInterceptor
All Implemented Interfaces:
au.edu.educationau.belts.command.CommandInterceptor

public class EJBContextInterceptor
extends java.lang.Object
implements au.edu.educationau.belts.command.CommandInterceptor

Executes a command in an EJB context.

Version:
$Revision: 1.4 $ - $Date: 2003/02/28 06:44:38 $

Field Summary
private  BELTSCommandExecutorLocalHome _home
           
 
Constructor Summary
EJBContextInterceptor()
           
 
Method Summary
 void configure(Configuration configuration)
           
 au.edu.educationau.belts.command.CommandResult invoke(au.edu.educationau.belts.command.InterceptorContext context)
          Called by the dispatcher when a request reaches this interceptor in an interceptor chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_home

private BELTSCommandExecutorLocalHome _home
Constructor Detail

EJBContextInterceptor

public EJBContextInterceptor()
Method Detail

invoke

public au.edu.educationau.belts.command.CommandResult invoke(au.edu.educationau.belts.command.InterceptorContext context)
Description copied from interface: au.edu.educationau.belts.command.CommandInterceptor
Called by the dispatcher when a request reaches this interceptor in an interceptor chain.

Typical interceptors will look up objects in the environment, add properties to the command, call InterceptorContext.invokeNext()>InterceptorContext.invokeNext() 55 and return the CommandResult it returns.

Specified by:
invoke in interface au.edu.educationau.belts.command.CommandInterceptor

configure

public void configure(Configuration configuration)
               throws ConfigurationException