edu.cmu.mafia.Server
Class EntryBean
java.lang.Object
edu.cmu.mafia.Server.EntryBean
public class EntryBean
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntryBean
public EntryBean()
setSessionContext
public void setSessionContext(SessionContext ctx)
throws EJBException,
java.rmi.RemoteException
- Throws:
EJBException
java.rmi.RemoteException
ejbRemove
public void ejbRemove()
throws EJBException,
java.rmi.RemoteException
- Throws:
EJBException
java.rmi.RemoteException
ejbActivate
public void ejbActivate()
throws EJBException,
java.rmi.RemoteException
- Throws:
EJBException
java.rmi.RemoteException
ejbPassivate
public void ejbPassivate()
throws EJBException,
java.rmi.RemoteException
- Throws:
EJBException
java.rmi.RemoteException
ejbCreate
public void ejbCreate()
throws CreateException
- Default create method
- Throws:
CreateException
login
public int login(java.lang.String username,
java.lang.String password)
register
public boolean register(java.lang.String username,
java.lang.String password)
logout
public int logout(java.lang.String username,
int sessionNumber)
getInitialContext
public javax.naming.InitialContext getInitialContext()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright (c) 2006 FaultTerminators. All Rights Reserved.