[jacorb-developer] Are there IDL constructs Similar to Java Annotations?

Rob Ratcliff rrr6399 at futuretek.com
Mon Feb 3 20:40:37 CET 2014


Kujtim,

In the short term, I'd recommend using #pragma or embed your custom
tags/annotations in  the  /* */ comments similar to XDoclet, which is
likely more flexible than the what #pragma allows.

Rob

On 2/3/2014 1:28 PM, Kujtim Hyseni wrote:
> Rob, Nick and Johnny:  Thank You for your valuable posts.
>
> However, my question was simpler than your answers. For my compiler (external to JacORB) I just needed to tag some operations in IDL file to treat them differently than others. Since to complete the task the same IDL file (without changing) had to be processed by JacORB compiler I thought "CORBA Annotations" were to be the needed.
>
> Thank You again!
>
> Kujtim
>
>> Date: Mon, 3 Feb 2014 09:03:09 +0100
>> From: jwillemsen at remedy.nl
>> To: jacorb-developer at lists.spline.inf.fu-berlin.de
>> Subject: Re: [jacorb-developer] Are there IDL constructs Similar to Java	Annotations?
>>
>> Hi,
>>
>> As part of the DDS X-Types specification has standardized IDL 
>> annotations <see http://www.omg.org/spec/DDS-XTypes/). The IDL 
>> annotations are also going to be part of the upcoming IDL4 specification 
>> the OMG MARS WG is working on
>>
>> Best regads,
>>
>> Johnny
>>
>> On 01/31/2014 02:12 PM, Kujtim Hyseni wrote:
>>> Hi,
>>>
>>> although this question is maybe for Object Management Group (OMG) I am re-posting here anyway. My question is: are there constructs in IDL elements specification like annotations in Java to give an element (operation, attribute, ...) some metadata to process with external tools or JacORB generated modified Java code?
>>>
>>> Regards,
>>> Kujtim
>>>   		 	   		
>>> _______________________________________________
>>> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
>>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>>>
>> _______________________________________________
>> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
>> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>  		 	   		  
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>


-- 
Rob Ratcliff
FutureTek Software Consulting
We get it done.
cell: 512-633-5751
fax: 512-233-2873
web: http://www.futuretek.com


More information about the jacorb-developer mailing list