[ 
http://nagoya.apache.org/jira/browse/BEEHIVE-100?page=comments#action_56041 ]
     
C Brett Bennett commented on BEEHIVE-100:
-----------------------------------------

The scheme Kyle proposes shifts resposibility
from the container-context to the contextual service. Instead of the 
container-context
determining the services it provides via an
XML configuration file, the contextual-service
chooses its provider with the implementation specified by the provider in some 
static manner, e.g. XML configuration.

His goal with the scheme seems to be:

(1) Have a service implementation for a given container be implicitly loaded, 
e.g. using
annotation on the contextual service interface/class.

(2) Be able to package the contextual service
and it's implementation for a given container
be packaged in a single jar.

In general there are two requirements:

(1) A bean-context-services object must be able to provide an iteration of 
contextual-services, i.e getCurrentServiceClasses().

(2) A binding needs to be made between a contextual-service and its 
implementation within a given context.

The difficulty with the proposed scheme is meeting requirement (1) while being 
able
to 'drop' in a jar.

Comments?



> Configurable services definition
> --------------------------------
>
>          Key: BEEHIVE-100
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-100
>      Project: Beehive
>         Type: New Feature
>   Components: Controls
>     Versions: V1Alpha
>     Reporter: C Brett Bennett
>     Priority: Minor

>
> A simple scheme to allow for a container specific control container context 
> to have a configurable set of services to be defined. This scheme can then be 
> implemented within
> various containers, including standalone ones to define the services to be 
> provided within
> those container.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to