View Javadoc
1   package ejava.examples.jndidemo;
2   
3   /**
4    * This interface defines some key debug methods we need to inspect the
5    * Session Beans that we are configuring. 
6    *
7    * @author jcstaff
8    */
9   public interface Scheduler {
10      /** return the name of the bean */
11      String getName();
12      
13      /** return the toString() of the object at the given JNDI name */
14      String getJndiProperty(String name);
15      
16      /** return the toString() of the object at the given Context.lookup name */
17      String getCtxProperty(String name);  
18      
19     /** return a string representation of java:comp/env */
20      String getEnv();
21  }