|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.wsf.spi.invocation.InvocationHandler
public abstract class InvocationHandler
Handles invocations on endpoints.
| Constructor Summary | |
|---|---|
InvocationHandler()
|
|
| Method Summary | |
|---|---|
abstract Invocation |
createInvocation()
Create a container specific invocation |
protected void |
handleInvocationException(Throwable th)
|
abstract void |
init(Endpoint ep)
Initilize the invocation handler |
abstract void |
invoke(Endpoint ep,
Invocation inv)
Invoke the the service endpoint |
abstract void |
onAfterInvocation(Invocation invocation)
Template method for notifying subclasses that endpoint method invocation was completed. |
abstract void |
onBeforeInvocation(Invocation invocation)
Template method for notifying subclasses that endpoint method is going to be invoked. |
abstract void |
onEndpointInstantiated(Endpoint endpoint,
Invocation invocation)
Template method for notifying subclasses that endpoint instance have been instantiated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationHandler()
| Method Detail |
|---|
public abstract Invocation createInvocation()
public abstract void invoke(Endpoint ep,
Invocation inv)
throws Exception
Exceptionpublic abstract void init(Endpoint ep)
protected void handleInvocationException(Throwable th)
throws Exception
Exception
public abstract void onEndpointInstantiated(Endpoint endpoint,
Invocation invocation)
throws Exception
endpoint - instantiated endpointinvocation - current invocation
Exception - subclasses have to throw exception on any failure
public abstract void onBeforeInvocation(Invocation invocation)
throws Exception
invocation - current invocation
Exception - subclasses have to throw exception on any failure
public abstract void onAfterInvocation(Invocation invocation)
throws Exception
invocation - current invocation
Exception - subclasses have to throw exception on any failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||