|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
org.jboss.ejb3.proxy.handler.session.service.ServiceProxyInvocationHandlerBase
public abstract class ServiceProxyInvocationHandlerBase
ServiceProxyInvocationHandlerBase Abstract base from which all JBoss Service Proxy InvocationHandlers may extend. Implements the notion of equality based solely on the name of the target container
| Constructor Summary | |
|---|---|
protected |
ServiceProxyInvocationHandlerBase(java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.advice.Interceptor[] interceptors)
Constructor |
| Method Summary | |
|---|---|
java.lang.Object |
getAsynchronousProxy(java.lang.Object proxy)
|
protected ServiceProxyInvocationHandlerBase |
getInvocationHandler(java.lang.Object proxy)
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Required "invoke" as defined by InvocationHandler interface |
protected boolean |
invokeEquals(java.lang.Object proxy,
java.lang.Object argument)
Handles invocation of "equals(Object)" upon a @Service Proxy Since this is a Singleton, if and only if the destination targets are to the same container, we'll consider the two Proxies equal |
protected int |
invokeHashCode(java.lang.Object proxy)
Handles invocation of "hashCode()" upon the proxy |
| Methods inherited from class org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase |
|---|
getContainer, getContainerGuid, getContainerLocally, getContainerName, getInterceptors, handleInvocationDirectly, invoke, setContainerName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServiceProxyInvocationHandlerBase(java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.advice.Interceptor[] interceptors)
containerName - The name of the target ContainercontainerGuid - The globally-unique name of the containerinterceptors - The interceptors to apply to invocations upon this handler| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable
protected boolean invokeEquals(java.lang.Object proxy,
java.lang.Object argument)
invokeEquals in class ProxyInvocationHandlerBaseproxy - args -
protected int invokeHashCode(java.lang.Object proxy)
invokeHashCode in class ProxyInvocationHandlerBaseproxy -
protected ServiceProxyInvocationHandlerBase getInvocationHandler(java.lang.Object proxy)
public java.lang.Object getAsynchronousProxy(java.lang.Object proxy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||