On 2010-11-20 06.34, Niclas Hedhman wrote:
Well, Rickard recently added "isAvailable()" and Availability in
Qi4j, but there is no mechanism in Qi4j to make Qi4j services
available and not.

Well, depends on what you mean. isAvailable() is aware of Enabled in service configurations, and also the AvailableService if implemented by a service. But are you talking about something else?

This is about external-to-Qi4j services that may
or may not support Availability, such as OSGi does.

So, when I said "available", I meant that 'something' sees the Qi4j
Service and exports it into the non-Qi4j environment, such as OSGi
and CXF JAX-WS (I need both at work). The idea is that if the
developer of a domain  model just follow a handful of rules, such as
"only use ValueComposites (serialized by value) and Entity
(serialized identity) in Service methods" the mechanics of JAX-WS is
taken care of automatically. Well that is the goal anyway.

Ok, do you then mean that there is no way to "tell" the environment that a service is available or not? No events for it, so that you could export/unexport the service?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to