I have written java code (i.e jar file )for component queue. This java code contains 2 public methods and 1 private method.
Problem: I unable to expose these two public methods from component queue in PCC. Even I can’t see the public method names when I am configure the class in adaptor configuration of component queue properties at PCC level.
I don’t know why it is not showing, There is no error in java file, it was compiled successfully and even I run that java code as standalone ( i.e by using main method ), it's run successfully.
Structure of java file
// global declarations
private String s=””;
public void method1(String arg1)
public void method2(String arg2)
// some java code
private void method3(String arg3)
Kindly give me the solution for not exposing methods at component queue And I want to know the problematic reasons for not exposing method in component queue at PCC level
Sathyanarayana j,FileNet Developer.
This topic has been locked.
2 replies Latest Post - 2012-02-24T17:56:45Z by SystemAdmin
Pinned topic unable to expose the methods of java class in component queue at PCC level
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-02-24T17:56:45Z at 2012-02-24T17:56:45Z by SystemAdmin
drdamour 0600029F9D15 PostsACCEPTED ANSWER
Re: unable to expose the methods of java class in component queue at PCC level2012-02-24T17:02:28Z in response to SystemAdminyour sample code has nothing wrong with it and should work (but this is obviously not you real code). If you are referencing other libraries than jace & pe then you need to add them as references in the PCC. these references are needed for reflection on your types to enumerate the methods. This action is available via the references context menu on a node in the PCC (i don't recall which).
Also, it' can be important to target the JRE version that you are running the PCC with to ensure the reflection will work.
I am Just a new Boy,
A Stranger in this Town,
Where are All the Good Times,
Who's Gonna Show this Stranger Around?
Check out our Agile ACM Catalogue: Widgets, APIs, & Components for Building Solutions
SystemAdmin 110000D4XK199 Posts