org.apache.naming

Class EjbRef


public class EjbRef
extends Reference

Represents a reference address to an EJB.

Version:
$Revision: 1.3 $ $Date: 2004/02/27 14:58:53 $

Author:
Remy Maucherat

Field Summary

static String
DEFAULT_FACTORY
Default factory for this reference.
static String
LINK
Link address type.
static String
REMOTE
Remote interface classname address type.
static String
TYPE
EJB type address type.

Constructor Summary

EjbRef(String ejbType, String home, String remote, String link)
EJB Reference.
EjbRef(String ejbType, String home, String remote, String link, String factory, String factoryLocation)
EJB Reference.

Method Summary

String
getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.

Field Details

DEFAULT_FACTORY

public static final String DEFAULT_FACTORY
Default factory for this reference.


LINK

public static final String LINK
Link address type.


REMOTE

public static final String REMOTE
Remote interface classname address type.


TYPE

public static final String TYPE
EJB type address type.

Constructor Details

EjbRef

public EjbRef(String ejbType,
              String home,
              String remote,
              String link)
EJB Reference.

Parameters:
ejbType - EJB type
home - Home interface classname
remote - Remote interface classname
link - EJB link


EjbRef

public EjbRef(String ejbType,
              String home,
              String remote,
              String link,
              String factory,
              String factoryLocation)
EJB Reference.

Parameters:
ejbType - EJB type
home - Home interface classname
remote - Remote interface classname
link - EJB link

Method Details

getFactoryClassName

public String getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.