org.jpublish
Class EJB

java.lang.Object
  |
  +--org.jpublish.EJB

public class EJB
extends java.lang.Object

A wrapper for an EJB (specifically the Home interface). The EJB class will delay the loading of the home interface until request time.

Author:
Anthony Eden

Constructor Summary
EJB(java.lang.String ref, java.lang.String homeClass)
          Construct an EJB object
 
Method Summary
 java.lang.Object getHome()
          Get the EJB home interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB

public EJB(java.lang.String ref,
           java.lang.String homeClass)
    throws javax.naming.NamingException
Construct an EJB object
Parameters:
ref - The JNDI reference
homeClass - The home class name
Throws:
javax.naming.NamingException -  
Method Detail

getHome

public java.lang.Object getHome()
                         throws java.lang.Exception
Get the EJB home interface.
Returns:
The EJB home interface


Copyright (C) 2001 Anthony Eden. All Rights Reserved.