This content has been marked as final.
Show 2 replies
-
1. Re: BeanMetaDataFactory and value-factory
alesj Jul 7, 2009 3:22 AM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
can I just instantiate this class directory or will the lack of e.g. a KernelControllerContext get me in trouble?
Directory? --> Directly?
It depends on how you're gonna use it.
Normally it's the MetaDataVisitor that sets this context during
preprocess (when we set Controller to the KCC) or describe (once we have BeanInfo) phase.
Meaning if you create your metadata and then pass it to Controller all should be fine."david.lloyd@jboss.com" wrote:
Or is there a BMDF method for this that I just didn't see?
BMDF? --> BMDB?
I'm adding those methods as we speak. :-) -
2. Re: BeanMetaDataFactory and value-factory
dmlloyd Jul 7, 2009 8:47 AM (in response to dmlloyd)Can you believe that I edited that post once as it is? Too much work, too little sleep.
For now I'll just instantiate that class *directly*, and when the *BMDB* methods appear, I'll switch to those.
Thanks :-)