Save This Page
Home » openejb-3.0-src » org.apache » openejb » core » ivm » [javadoc | source]
org.apache.openejb.core.ivm
abstract public class: BaseEjbProxyHandler [javadoc | source]
java.lang.Object
   org.apache.openejb.core.ivm.BaseEjbProxyHandler

All Implemented Interfaces:
    Serializable, InvocationHandler

Direct Known Subclasses:
    StatelessEjbObjectHandler, EntityEjbObjectHandler, EjbObjectProxyHandler, StatefulEjbObjectHandler

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
public final  Object deploymentID     
public final  Object primaryKey     
public  boolean inProxyMap     
public transient  RpcContainer container     
protected  boolean isInvalidReference     
protected  boolean doIntraVmCopy     
protected  boolean doCrossClassLoaderCopy     
protected final  InterfaceType interfaceType     
Constructor:
 public BaseEjbProxyHandler(DeploymentInfo deploymentInfo,
    Object pk,
    InterfaceType interfaceType,
    List interfaces) 
Method from org.apache.openejb.core.ivm.BaseEjbProxyHandler Summary:
_invoke,   _writeReplace,   checkAuthorization,   convertException,   copyArgs,   copyObj,   equals,   getCause,   getDeploymentInfo,   getInterfaces,   getInvokedInterface,   getLiveHandleRegistry,   getMainInterface,   getProxyInfo,   hashCode,   invalidateAllHandlers,   invalidateReference,   invoke,   registerHandler,   setDeploymentInfo,   setIntraVmCopyMode,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.ivm.BaseEjbProxyHandler Detail:
 abstract protected Object _invoke(Object proxy,
    Class interfce,
    Method method,
    Object[] args) throws Throwable
 abstract protected Object _writeReplace(Object proxy) throws ObjectStreamException
 protected  void checkAuthorization(Method method) throws OpenEJBException 
 protected Throwable convertException(Throwable e,
    Method method,
    Class interfce) 
    Renamed method so it shows up with a much more understandable purpose as it will be the top element in the stacktrace
 protected Object[] copyArgs(Object[] objects) throws ClassNotFoundException, IOException 
 protected Object copyObj(Object object) throws ClassNotFoundException, IOException 
 public boolean equals(Object obj) 
 protected Throwable getCause(Throwable e) 
 public CoreDeploymentInfo getDeploymentInfo() 
 public List getInterfaces() 
 protected Class getInvokedInterface(Method method) 
    This method should be called to determine the corresponding business interface class to name as the invoking interface. This method should NOT be called on non-business-interface methods the proxy has such as java.lang.Object or IntraVmProxy.
 public Hashtable getLiveHandleRegistry() 
 public Class getMainInterface() 
 abstract public ProxyInfo getProxyInfo()
 public int hashCode() 
 protected  void invalidateAllHandlers(Object key) 
 public  void invalidateReference() 
 public Object invoke(Object proxy,
    Method method,
    Object[] args) throws Throwable 
 protected  void registerHandler(Object key,
    BaseEjbProxyHandler handler) 
 public  void setDeploymentInfo(CoreDeploymentInfo deploymentInfo) 
 public  void setIntraVmCopyMode(boolean on) 
 public String toString()