/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.naming.interfaces;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;

/**

@author  Scott.Stark@jboss.org
@version $Revision: 1.2.6.2 $
*/
public interface TestENC extends EJBObject
{
   /** Perform interations count lookups against the ENC
    * @return the time spent in the method
    * @throws RemoteException
    */ 
   public long stressENC(long iterations) throws RemoteException;
   /**
    * Test access of the various types of java:comp entries
    * @throws RemoteException
    */ 
   public void accessENC() throws RemoteException;
}
