org.jboss.ejb3.javaee
Class AbstractJavaEEComponent

java.lang.Object
  extended by org.jboss.ejb3.javaee.AbstractJavaEEComponent
All Implemented Interfaces:
JavaEEComponent

public abstract class AbstractJavaEEComponent
extends Object
implements JavaEEComponent

Comment

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

Constructor Summary
protected AbstractJavaEEComponent(JavaEEModule module)
           
 
Method Summary
 String createObjectName(String ejbName)
          Create an object name for the given EJB name in the same JavaEE module.
 String createObjectName(String unitName, String ejbName)
          Create an object name for the given EJB name in another JavaEE module.
 JavaEEModule getModule()
          Returns the module of which this component is a part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJavaEEComponent

protected AbstractJavaEEComponent(JavaEEModule module)
Method Detail

createObjectName

public String createObjectName(String ejbName)
Description copied from interface: JavaEEComponent
Create an object name for the given EJB name in the same JavaEE module.

Specified by:
createObjectName in interface JavaEEComponent
Returns:

createObjectName

public String createObjectName(String unitName,
                               String ejbName)
Description copied from interface: JavaEEComponent
Create an object name for the given EJB name in another JavaEE module.

Specified by:
createObjectName in interface JavaEEComponent
Returns:

getModule

public JavaEEModule getModule()
Description copied from interface: JavaEEComponent
Returns the module of which this component is a part.

Specified by:
getModule in interface JavaEEComponent


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