| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.proxy.Interceptor
org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor
Implements the application server message endpoint requirements.
| Field Summary | |
protected  boolean | 
delivered
Whether we have delivered a message  | 
protected  Thread | 
inUseThread
The in use thread  | 
static String | 
MESSAGE_ENDPOINT_FACTORY
The key for the factory  | 
static String | 
MESSAGE_ENDPOINT_XARESOURCE
The key for the xa resource  | 
protected  ClassLoader | 
oldClassLoader
The old classloader of the thread  | 
protected  EDU.oswego.cs.dl.util.concurrent.SynchronizedBoolean | 
released
Whether this proxy has been released  | 
protected  Transaction | 
suspended
Any suspended transaction  | 
protected  Transaction | 
transaction
Any transaction we started  | 
| Fields inherited from class org.jboss.proxy.Interceptor | 
nextInterceptor | 
| Constructor Summary | |
MessageEndpointInterceptor()
 | 
|
| Method Summary | |
protected  void | 
after(Invocation mi)
After delivery processing.  | 
protected  void | 
before(Invocation mi)
Before delivery processing.  | 
protected  Object | 
delivery(Invocation mi)
Delivery.  | 
protected  void | 
endTransaction(Invocation mi,
               boolean commit)
End the transaction  | 
protected  void | 
finish(String context,
       Invocation mi,
       boolean commit)
Finish the current delivery  | 
protected  MessageDrivenContainer | 
getContainer(Invocation mi)
Get the container  | 
protected  JBossMessageEndpointFactory | 
getMessageEndpointFactory(Invocation mi)
Get the message endpoint factory  | 
protected  String | 
getProxyString(Invocation mi)
Get our proxy's string value.  | 
 Object | 
invoke(Invocation mi)
 | 
protected  void | 
release(Invocation mi)
Release this message endpoint.  | 
protected  void | 
releaseThreadLock(Invocation mi)
Release the thread lock  | 
protected  void | 
resetContextClassLoader(Invocation mi)
Reset the context classloader  | 
protected  void | 
startTransaction(String context,
                 Invocation mi,
                 MessageDrivenContainer container)
Start a transaction  | 
| Methods inherited from class org.jboss.proxy.Interceptor | 
getNext, readExternal, setNext, writeExternal | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String MESSAGE_ENDPOINT_FACTORY
public static final String MESSAGE_ENDPOINT_XARESOURCE
protected EDU.oswego.cs.dl.util.concurrent.SynchronizedBoolean released
protected boolean delivered
protected Thread inUseThread
protected ClassLoader oldClassLoader
protected Transaction transaction
protected Transaction suspended
| Constructor Detail | 
public MessageEndpointInterceptor()
| Method Detail | 
public Object invoke(Invocation mi) throws Throwable
invoke in class InterceptorThrowableprotected void release(Invocation mi) throws Throwable
mi - the invocation
Throwable - for any errorprotected void before(Invocation mi) throws Throwable
mi - the invocation
Throwable - for any errorprotected void after(Invocation mi) throws Throwable
mi - the invocation
Throwable - for any errorprotected Object delivery(Invocation mi) throws Throwable
mi - the invocation
Throwable - for any errorprotected void finish(String context, Invocation mi, boolean commit) throws Throwable
context - the lifecycle methodmi - the invocationcommit - whether to commit
Throwable - for any errorprotected void startTransaction(String context, Invocation mi, MessageDrivenContainer container) throws Throwable
context - the lifecycle methodmi - the invocationcontainer - the container
Throwable - for any errorprotected void endTransaction(Invocation mi, boolean commit) throws Throwable
mi - the invocationcommit - whether to try to commit
Throwable - for any errorprotected void resetContextClassLoader(Invocation mi)
mi - the invocationprotected void releaseThreadLock(Invocation mi)
mi - the invocationprotected String getProxyString(Invocation mi)
mi - the invocation
protected JBossMessageEndpointFactory getMessageEndpointFactory(Invocation mi)
protected MessageDrivenContainer getContainer(Invocation mi)
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||