org.jboss.ejb3.javaee
Class JavaEEComponentHelper

java.lang.Object
  extended by org.jboss.ejb3.javaee.JavaEEComponentHelper

public class JavaEEComponentHelper
extends Object

Comment

Version:
$Revision: 72001 $
Author:
Carlo de Wolf

Constructor Summary
JavaEEComponentHelper()
           
 
Method Summary
static String createObjectName(JavaEEModule module, String ejbName)
          Create an object name refering to the enterprise bean in this module.
static String createObjectName(JavaEEModule module, String unitName, String ejbName)
          Create an object name refering the enterprise bean in another module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaEEComponentHelper

public JavaEEComponentHelper()
Method Detail

createObjectName

public static String createObjectName(JavaEEModule module,
                                      String ejbName)
Create an object name refering to the enterprise bean in this module.

Parameters:
module -
ejbName -
Returns:

createObjectName

public static String createObjectName(JavaEEModule module,
                                      String unitName,
                                      String ejbName)
Create an object name refering the enterprise bean in another module. If the module name is not known, it will create an object name pattern.

Parameters:
module - this module
unitName - the name of the other module or null if not known
ejbName - the name of the enterprise bean
Returns:
the canonical object name


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.