KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > framework > ContextAware


1 package org.oddjob.framework;
2
3 import org.oddjob.arooa.ArooaContext;
4
5 /**
6  * An inteface for the proxy to implement so that a proxy can have it's context set.
7  * This is normally via reflection looking for, and invoking a
8  * method but obviously this doesn't work for proxies.
9  *
10  * @author Rob Gordon
11  */

12 public interface ContextAware {
13
14     /**
15      * Set the context.
16      *
17      * @param arooaContext the ArooaContext.
18      *
19      * @return true if the job is independent.
20      */

21     public boolean setContext(ArooaContext arooaContext);
22 }
23
Popular Tags