com.netscape.pm.model
Interface IPMApplicationHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface IPMApplicationHome
extends javax.ejb.EJBHome

Defines the home interface for the IPMApplication enterprise bean. This interface is used by remote users to obtain a handle to an instance of an application bean.

 javax.naming.Context cxt = new javax.naming.InitialContext();
 String jndiName = "java:comp/env/" + IPMApplication.DEFAULT_JNDI_ROOT
                 + "/" + localName;
 IPMApplicationHome home = (IPMApplicationHome) cxt.lookup( jndiName );
 IPMApplication app = home.create();
 

See Also:
IPMApplication, EJBHome

Method Summary
 IPMApplication create()
          Creates a new IPMApplication bean based on the JNDI name of the bean.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public IPMApplication create()
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException
Creates a new IPMApplication bean based on the JNDI name of the bean. There is a correlation between the JNDI name and the DN (distinguished name) of the application entry in the repository.
Returns:
a handle to an IPMApplication bean
Throws:
java.rmi.RemoteException - if there is a communications or systems failure.
java.ejb.CreateException - if there is a problem creating the EJB on the container side.
Since:
PAE 4.0
See Also:
IPMApplication