Just realized that we need a way for Plugins to find each other:
public interface PluginLocator {
public Plugin lookup (String key);
}
public interface Plugin {
/**
* @returns Factory if interface is stateful, component
* interface if stateless
*/
public Object get ();
public void put (Object o);
public void setLocator (PluginLocator locator);
}
Then you can have an A4 plugin that exposes its components and
adapts requests from them to the Plugin-style architecture.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]