com.netscape.pm.model
Interface IPMClusterManagerHome
- All Superinterfaces:
- javax.ejb.EJBHome, java.rmi.Remote
- public interface IPMClusterManagerHome
- extends javax.ejb.EJBHome
Defines the home interface for the IPMClusterManager
enterprise bean. This interface is used by remote users to obtain
a handle to an instance of a cluster manager bean.
javax.naming.Context cxt = new javax.naming.InitialContext();
String jndiName = "java:comp/env/" + IPMClusterManager.JNDI_ROOT;
IPMClusterManagerHome home = (IPMClusterManagerHome) cxt.lookup( jndiName );
IPMClusterManager clusterManager = home.create();
IPMCluster cluster = clusterManager.getCluster( IPMCluster.DEFAULT );
- See Also:
IPMCluster
,
EJBHome
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
create
public IPMClusterManager create()
throws javax.ejb.CreateException,
java.rmi.RemoteException
- Creates a new IPMClusterManager bean based on the JNDI name of the bean.
- Returns:
- a handle to an IPMClusterManager 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:
IPMClusterManager