com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB
Interface ASContainerManagedEJB

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

public interface ASContainerManagedEJB
extends javax.ejb.EJBObject

The Remote Interface Buisness Methods for the ActivitySessions Container Managed CMP Sample.


Method Summary
 int getHitCount()
          Getter method for hitCount
 int getIndex()
          Getter method for index
 int getValue()
          Getter method for value
 void incrementHitCount()
          Increments the variable hitCount
 void setValue(int newValue)
          Setter method for value
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getIndex

int getIndex()
             throws java.rmi.RemoteException
Getter method for index

Returns:
int
Throws:
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.

getValue

int getValue()
             throws java.rmi.RemoteException
Getter method for value

Returns:
int
Throws:
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.

setValue

void setValue(int newValue)
              throws java.rmi.RemoteException
Setter method for value

Parameters:
newValue - int
Throws:
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.

getHitCount

int getHitCount()
                throws java.rmi.RemoteException
Getter method for hitCount

Returns:
int
Throws:
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.

incrementHitCount

void incrementHitCount()
                       throws java.rmi.RemoteException
Increments the variable hitCount

Throws:
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.