|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.proxy.Interceptor (src)
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 java.lang.Thread |
inUseThread
The in use thread |
static java.lang.String |
MESSAGE_ENDPOINT_FACTORY
The key for the factory |
static java.lang.String |
MESSAGE_ENDPOINT_XARESOURCE
The key for the xa resource |
protected java.lang.ClassLoader |
oldClassLoader
The old classloader of the thread |
protected SynchronizedBoolean |
released
Whether this proxy has been released |
protected Transaction (src) |
suspended
Any suspended transaction |
protected Transaction (src) |
transaction
Any transaction we started |
Fields inherited from class org.jboss.proxy.Interceptor (src) |
nextInterceptor |
Constructor Summary | |
MessageEndpointInterceptor()
|
Method Summary | |
protected void |
after(Invocation (src) mi)
After delivery processing. |
protected void |
before(Invocation (src) mi)
Before delivery processing. |
protected java.lang.Object |
delivery(Invocation (src) mi)
Delivery. |
protected void |
endTransaction(Invocation (src) mi,
boolean commit)
End the transaction |
protected void |
finish(java.lang.String context,
Invocation (src) mi,
boolean commit)
Finish the current delivery |
protected MessageDrivenContainer (src) |
getContainer(Invocation (src) mi)
Get the container |
protected JBossMessageEndpointFactory (src) |
getMessageEndpointFactory(Invocation (src) mi)
Get the message endpoint factory |
protected java.lang.String |
getProxyString(Invocation (src) mi)
Get our proxy's string value. |
java.lang.Object |
invoke(Invocation (src) mi)
|
protected void |
release(Invocation (src) mi)
Release this message endpoint. |
protected void |
releaseThreadLock(Invocation (src) mi)
Release the thread lock |
protected void |
resetContextClassLoader(Invocation (src) mi)
Reset the context classloader |
protected void |
startTransaction(java.lang.String context,
Invocation (src) mi,
MessageDrivenContainer (src) container)
Start a transaction |
Methods inherited from class org.jboss.proxy.Interceptor (src) |
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 java.lang.String MESSAGE_ENDPOINT_FACTORY
public static final java.lang.String MESSAGE_ENDPOINT_XARESOURCE
protected SynchronizedBoolean released
protected boolean delivered
protected java.lang.Thread inUseThread
protected java.lang.ClassLoader oldClassLoader
protected Transaction (src) transaction
protected Transaction (src) suspended
Constructor Detail |
public MessageEndpointInterceptor()
Method Detail |
public java.lang.Object invoke(Invocation (src) mi) throws java.lang.Throwable
invoke
in class Interceptor (src)
java.lang.Throwable
protected void release(Invocation (src) mi) throws java.lang.Throwable
mi
- the invocation
java.lang.Throwable
- for any errorprotected void before(Invocation (src) mi) throws java.lang.Throwable
mi
- the invocation
java.lang.Throwable
- for any errorprotected void after(Invocation (src) mi) throws java.lang.Throwable
mi
- the invocation
java.lang.Throwable
- for any errorprotected java.lang.Object delivery(Invocation (src) mi) throws java.lang.Throwable
mi
- the invocation
java.lang.Throwable
- for any errorprotected void finish(java.lang.String context, Invocation (src) mi, boolean commit) throws java.lang.Throwable
context
- the lifecycle methodmi
- the invocationcommit
- whether to commit
java.lang.Throwable
- for any errorprotected void startTransaction(java.lang.String context, Invocation (src) mi, MessageDrivenContainer (src) container) throws java.lang.Throwable
context
- the lifecycle methodmi
- the invocationcontainer
- the container
java.lang.Throwable
- for any errorprotected void endTransaction(Invocation (src) mi, boolean commit) throws java.lang.Throwable
mi
- the invocationcommit
- whether to try to commit
java.lang.Throwable
- for any errorprotected void resetContextClassLoader(Invocation (src) mi)
mi
- the invocationprotected void releaseThreadLock(Invocation (src) mi)
mi
- the invocationprotected java.lang.String getProxyString(Invocation (src) mi)
mi
- the invocation
protected JBossMessageEndpointFactory (src) getMessageEndpointFactory(Invocation (src) mi)
protected MessageDrivenContainer (src) getContainer(Invocation (src) mi)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |