"adrian(a)jboss.org" wrote : The alternative which is to fix it up by hand in the
DescribeAction
| (like you are doing now with the placeholder) is not very extensible
| going forwards. It really needs a visitor pattern.
Ok, forget then about 'placeholder' approach?
Rewrite it to revisit pattern + anonymous wrote : Of course, every metadata class that
takes part in this would need
| to implement an interface that defines the getType(),
|
| e.g. based on what was retrieved from the stack
| advmd -> (NewInterface) propertyMetaData.getType()
| advmd -> (NewInterface) parameterMetaData.getType() -> (NewInterface)
constructor.getType()
|
| Also, for the parameters, there would need to be some notion
| of "index" so you know which parameter you are working with.?
Calling revisit from where - ConfiguredAction - though AbstractKernelCOntrollerContext?
public void setController(Controller controller)
| {
| super.setController(controller);
| preprocessMetaData();
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965244#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...