站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

LocalHomeProxy (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.local
Class LocalHomeProxy

java.lang.Object
  extended byorg.jboss.ejb.plugins.local.LocalProxy
      extended byorg.jboss.ejb.plugins.local.LocalHomeProxy
All Implemented Interfaces:
InvocationHandler, Serializable

public class LocalHomeProxy
extends LocalProxy
implements InvocationHandler

The proxy for an EJBLocalHome object.

Version:
$Revision: 1.10 $
Author:
Daniel OConnor, Scott Stark
See Also:
Serialized Form

Field Summary
protected static Method REMOVE_BY_PRIMARY_KEY
          EJBHome.remove(Object) method reference.
protected static Method REMOVE_OBJECT
          EJBObject.remove() method reference.
 
Fields inherited from class org.jboss.ejb.plugins.local.LocalProxy
EMPTY_ARGS, EQUALS, factory, GET_EJB_HOME, GET_PRIMARY_KEY, HASH_CODE, IS_IDENTICAL, jndiName, REMOVE, TO_STRING
 
Constructor Summary
LocalHomeProxy(String jndiName, BaseLocalProxyFactory factory)
           
 
Method Summary
protected  Object getId()
           
 Object invoke(Object proxy, Method m, Object[] args)
          InvocationHandler implementation.
 
Methods inherited from class org.jboss.ejb.plugins.local.LocalProxy
getJndiName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOVE_BY_PRIMARY_KEY

protected static final Method REMOVE_BY_PRIMARY_KEY
EJBHome.remove(Object) method reference.


REMOVE_OBJECT

protected static final Method REMOVE_OBJECT
EJBObject.remove() method reference.

Constructor Detail

LocalHomeProxy

public LocalHomeProxy(String jndiName,
                      BaseLocalProxyFactory factory)
Method Detail

getId

protected Object getId()
Specified by:
getId in class LocalProxy

invoke

public Object invoke(Object proxy,
                     Method m,
                     Object[] args)
              throws Throwable
InvocationHandler implementation.

Specified by:
invoke in interface InvocationHandler
Overrides:
invoke in class LocalProxy
Parameters:
proxy - The proxy object.
m - The method being invoked.
args - The arguments for the method.
Throws:
Throwable - Any exception or error thrown while processing.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.