edu.cmu.mafia.Server
Class EntryBean

java.lang.Object
  extended by edu.cmu.mafia.Server.EntryBean

public class EntryBean
extends java.lang.Object


Constructor Summary
EntryBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
          Default create method
 void ejbPassivate()
           
 void ejbRemove()
           
 javax.naming.InitialContext getInitialContext()
           
 int login(java.lang.String username, java.lang.String password)
           
 int logout(java.lang.String username, int sessionNumber)
           
 boolean register(java.lang.String username, java.lang.String password)
           
 void setSessionContext(SessionContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryBean

public EntryBean()
Method Detail

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.