[jboss-dev-forums] [Design the new POJO MicroContainer] - DynmanicFromContext was Re: enums, generics and other animal

adrian@jboss.org do-not-reply at jboss.com
Fri Mar 7 05:07:22 EST 2008


"alesj" wrote : "adrian at jboss.org" wrote : I don't understand why there is an InjectOption and an InjectionOption?
  |   | 
  | So, it the case you use annotations, you cannot get the DynamicFromContext.
  | ...
  | For FromContext see DynamicFromContext.
  | 

What is that rubbish? :-)

Why are you exposing "random" things?

How do we know what people have used in the api if they can just
select parts of it using reflection?
You might as well let people write

  | <property><script type="javascript">do what you like here but its not very declarative
  | or guaranteed to work in future versions</script></property>
  | 

It also exposes things that are "private interfaces"


  | // Intended for the user
  | public interface ControllerContext {}
  | 
  | public class MyControllerContext implements ControllerContext, 
  |    ImplementDetails // Not intended for the user and subject to change without notice
  | {
  | }
  | 

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

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



More information about the jboss-dev-forums mailing list