com.netscape.pm.model
Interface IPMClusterHome

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

public interface IPMClusterHome
extends javax.ejb.EJBHome

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

 javax.naming.Context cxt = new javax.naming.InitialContext();
 String jndiName = "java:comp/env/" + IPMCluster.DEFAULT;
 IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName );
 IPMCluster cluster = home.create();
 

See Also:
IPMCluster, EJBHome

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

Method Detail

create

public IPMCluster create()
                  throws javax.ejb.CreateException,
                         java.rmi.RemoteException
Creates a new IPMCluster bean based on the JNDI name of the bean.
Returns:
a handle to an IPMCluster 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:
IPMCluster