If you mean something like transition.getMetaAttr("foo1") and get "bar1" in 
return, I'm afraid that's not possible. This doesn't mean you can't supply a 
similar facility with a little bit of creativity.

The FileDefinition gives you access to custom files in the process archive. 
There is a method Node.getFullyQualifiedName() which returns an XPath-style 
string that uniquely identifies the node. You could add an XML document to your 
archive with elements structured as per the fully qualified name of the node 
and put whatever attributes and child nodes you please. You could even create a 
MetadataDefinition that inherited from ModuleDefinition that encapsulated these 
details:
public class MetadataDefinition extends ModuleDefinition {
  |   public Element getMetadata(Node n);
  |   public Element getMetadata(Transition t);
  | }
Alternatively, you can file a request feature in JIRA. But please be patient :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920577#3920577

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920577


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to