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   public interface Scheduler {
8       /** return the name of the bean */
9       String getName();
10      
11      /** return the toString() of the object at the given JNDI name */
12      String getJndiProperty(String name);
13      
14      /** return the toString() of the object at the given Context.lookup name */
15      String getCtxProperty(String name);  
16      
17     /** return a string representation of java:comp/env */
18      String getEnv();
19  }