Annotation support

"Caleb P. Burns" <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOxVj+SxxyS5TG75dmPA-0AfgmFfXqV04Wp5VaZK1TzSAoYzhw@mail.gmail.com>
Jython developers,

How relevant are the docs for v0.1 of Clamp over at <
http://clamp.readthedocs.org/en/latest/clamp.html>? It describes decorators
such as `clamp.method` and `clamp.annotated`. The current version of Clamp
(0.4) has no mention to these decorators.

I am working on adding basic support for Java annotations into Clamp. At
the moment I have annotations for classes working with a decorator
(`clamp.annotated`). However, I am stuck on how to approach implementing
them for Python methods. Arbitrary python methods don't get exported. And
before one can export a python method, it needs to have a useful Java
return type and parameter types. Is it desired to have a decorator such as
`clamp.method` to specify its signature?

Any help or advice would be greatly appreciated.

Caleb Burns

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.