Overriding of services
----------------------

         Key: HIVEMIND-109
         URL: http://issues.apache.org/jira/browse/HIVEMIND-109
     Project: HiveMind
        Type: Improvement
  Components: framework  
    Versions: 1.1    
    Reporter: Stefan Liebig


The current (HM 1.1 alpha 3) support for overriding of services is not 
sufficent, because it is based on a �same-module� semantic and does not make 
its intention explicit.

A solution is requiered which allows to
- declare a service in a module
- provide a (default) implementation in another module
- provide an �override� in a third module

Additionally the intent of the developer(s) should be made explicit, i.e. it 
should be possible to express that an implementation:
- is the default implementation
- is thought to be overridable
- is thought to be the overriding implementation (should this require the 
existence of a default overridable implementation?)

Any conflicts (more that one overide, ..) should be reported as an error.

Such a solution is requiered because we build a framework where services are 
declared in a base module and implmentations are provided in client/server 
specific modules. Some of these �default� implementations should be overridable 
by the users of the framework to provide some special behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to