[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE 3 - revised proposal for resolution
The following proposed resolution is a modification of the proposal submitted by Mike Rowley in http://www.oasis-open.org/apps/org/workgroup/sca-j/email/archives/200710/msg00059.html Proposal: Introduce a new interface annotation called @Local. If a component implementation implements an interface that has been marked as @Local, the component type will include a service whose type is that (non-remotable) interface. In this way, the @Local annotation is similar to the @Remotable annotation, but without implying remote-call semantics. The rules for generating services for a class that does not include the @Service annotation are the following: 1) If the class implements interfaces, generate services for each implemented interface that has been marked as either @Remotable or @Local, where the type of the service is that interface. Any implemented interfaces that have not been marked as either @Remotable or @Local do not have services generated for them. 2) If the class implements no interfaces, it offers a single service whose type is that class. Simon
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]