当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
EjbUtil (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb
Class EjbUtil
java.lang.Object
org.jboss.ejb.EjbUtil
- public final class EjbUtil
- extends Object
Utility methods for resolving ejb-ref and ejb-local-ref within the
scope of a deployment.
- Version:
- $Revision: 1.1.2.5 $
- Author:
- Christian Riege, Scott.Stark@jboss.org
Method Summary |
static String |
findEjbLink(javax.management.MBeanServer server,
org.jboss.deployment.DeploymentInfo di,
String link)
Resolves an <ejb-link> target for an <ejb-ref> entry and
returns the name of the target in the JNDI tree. |
static String |
findLocalEjbLink(javax.management.MBeanServer server,
org.jboss.deployment.DeploymentInfo di,
String link)
Resolves an <ejb-link> target for an <ejb-local-ref> entry
and returns the name of the target in the JNDI tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbUtil
public EjbUtil()
findEjbLink
public static String findEjbLink(javax.management.MBeanServer server,
org.jboss.deployment.DeploymentInfo di,
String link)
- Resolves an <ejb-link> target for an <ejb-ref> entry and
returns the name of the target in the JNDI tree.
- Parameters:
di
- DeploymentInfolink
- Content of the <ejb-link> entry.
- Returns:
- The JNDI Entry of the target bean;
null
if
no appropriate target could be found.
findLocalEjbLink
public static String findLocalEjbLink(javax.management.MBeanServer server,
org.jboss.deployment.DeploymentInfo di,
String link)
- Resolves an <ejb-link> target for an <ejb-local-ref> entry
and returns the name of the target in the JNDI tree.
- Parameters:
di
- DeploymentInfolink
- Content of the <ejb-link> entry.
- Returns:
- The JNDI Entry of the target bean;
null
if
no appropriate target could be found.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.