[Javassist user questions] - Method Paramater annotation not seen on Scala class - but vi
by fanf42
Hello,
I'm trying to use Tapestry 5.0.18 with Scala (2?7?3 and 2.8.0 nightly). It uses method parameter annotations that seem to not be found by Javassist (tested with 3.8, 3.9 and 3.10 GA).
The annotation is a java annotation declared as this :
8<------------------------------------
@Target({PARAMETER, FIELD})
@Retention(RUNTIME)
@Documented
public @interface InjectService
{
String value();
}
8<------------------------------------
And is used like :
8<------------------------------------
public static void contributeFooService(
OrderedConfiguration conf,
@InjectService("foo1") FooService foo1,
@InjectService("foo2") FooService foo2
) { .... }
8<------------------------------------
As the problem appear with Scala file, I'm not sur that it's only a javassist problem, but the symptom are :
- in Java, I saw annotation both woth Javassist CtBehavior#getAvailableParameterAnnotations() and with Java reflexion API java.lang.reflect.Method#getAvailableAnnotations
- in Scala, I saw the annotation only with the java reflexion API
I don't know exactly what I can provides to help here.
Any help would be appreciated,
Francois Armand
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216675#4216675
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216675
15 years, 10 months
[JBoss Tools (users)] - Re: Seam components view problem with JBDS 1.1.0.GA
by asookazian
I have contacted CSP for hotfix.
Where can I find out what versions of what libraries, etc. are bundled with JBDS 2.0 (i.e. what version of JBoss Tools, what version of EAP, what version of Seam?) Perhaps a release notes should be available for download??
This is all it shows on the download page (horrible!):
| Download Details
| Product/Version: JBoss Developer Studio 2.0 CR2
| Type: DISTRIBUTION
| File Name: jbdevstudio-eap-win32-2.0.0.CR2-R200901291303.jar
| File Size (bytes): 636699606
| MD5: cdc0280bb3b6df130e0391f4afd969a0
| SHA-256: 8caaf128f7f2f91d4f2d49ca40ca4cf29e0a3f759188d957c713bdc8036fa1cd
| Release Date: 02/02/2009 12:19 PM EDT
| Last Updated: 02/02/2009 12:19 PM EDT
| Software Description
|
| JBoss Developer Studio 2.0 CR2 Win32 with EAP distribution
| Manual Instructions
|
| To install JBoss Developer Studio, download the appropriate installer, and run it by executing
|
| java -jar [jbdevstudio installer file
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216662#4216662
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216662
15 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Variable of type 'short' not handled by SNMP manager
by Termos
Hi,
I am currently configuring the Jboss server (jboss-4.0.5.GA) to be able to map MBeans to SNMP variables. It seems to work with Long and String variables but not for 'short' ones.
I use GetIf to browse SNMP variables. I successfully get the first 2 variables. The 1st one is an Integer and the 2nd one is a String. But, for the 3rd variable, I can read in Jboss logs:
2009-03-10 17:17:59,383 INFO [SnmpPortal--1] [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Unknown type for [oid=.1.3.6.1.4.1.512.1.4, mbean=xxxxxxxxxxxxxx:name=Adminxxxxxx,type=counter, attr=xxxxxx, rw=true] which is a declared as a Short in the MBean descriptor.
to validate my assumption, I have changed the type of that 3rd variable and then, I get it with GetIf.
My request is kindly similar to this one one: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=98862&start=-10&...
How is it possible to map variables that have other type than Integer or String? Of course, it is impossible for me to really change the MBean descriptor :(
Thanks for your answers.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216653#4216653
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216653
15 years, 10 months