org.apache.naming

Class EjbRef

public class EjbRef extends Reference

Represents a reference address to an EJB.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Remy Maucherat

Field Summary
static StringDEFAULT_FACTORY
Default factory for this reference.
static StringLINK
Link address type.
static StringREMOTE
Remote interface classname address type.
static StringTYPE
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
StringgetFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.

Field Detail

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 Detail

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 Detail

getFactoryClassName

public String getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.