Google

JBoss API: Class EntityMultiInstanceInterceptor

org.jboss.ejb.plugins
Class EntityMultiInstanceInterceptor

java.lang.Object
  |
  +--org.jboss.ejb.plugins.AbstractInterceptor
        |
        +--org.jboss.ejb.plugins.EntityMultiInstanceInterceptor
All Implemented Interfaces:
ContainerPlugin, Interceptor, Service

public class EntityMultiInstanceInterceptor
extends AbstractInterceptor

The instance interceptors role is to acquire a context representing the target object from the cache.

Version:
$Revision: 1.1.4.5 $

Revisions:

2001/08/08: billb

  1. Initial Revision
Author:
Bill Burke

Field Summary
protected  EntityContainer container
           
 
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor
log, nextInterceptor
 
Constructor Summary
EntityMultiInstanceInterceptor()
           
 
Method Summary
 Container getContainer()
           
 java.lang.Object invoke(MethodInvocation mi)
           
 java.lang.Object invokeHome(MethodInvocation mi)
           
 void setContainer(Container container)
          This callback is set by the container so that the plugin may access it
 
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor
destroy, getNext, init, setNext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected EntityContainer container
Constructor Detail

EntityMultiInstanceInterceptor

public EntityMultiInstanceInterceptor()
Method Detail

setContainer

public void setContainer(Container container)
Description copied from interface: ContainerPlugin
This callback is set by the container so that the plugin may access it
Overrides:
setContainer in class AbstractInterceptor
Following copied from interface: org.jboss.ejb.ContainerPlugin
Parameters:
con - the container using this plugin

getContainer

public Container getContainer()
Overrides:
getContainer in class AbstractInterceptor

invokeHome

public java.lang.Object invokeHome(MethodInvocation mi)
                            throws java.lang.Exception
Overrides:
invokeHome in class AbstractInterceptor

invoke

public java.lang.Object invoke(MethodInvocation mi)
                        throws java.lang.Exception
Overrides:
invoke in class AbstractInterceptor


Copyright © 2000 The JBoss Organization. All Rights Reserved.