avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: [RT] Component Types
Date Wed, 28 Jan 2004 10:50:20 GMT
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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message