return null instead of an unusable proxy if a resource is missing
-----------------------------------------------------------------

                 Key: OWB-510
                 URL: https://issues.apache.org/jira/browse/OWB-510
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.0
            Reporter: David Jencks
            Assignee: Gurkan Erdogdu
             Fix For: 1.1.0


Currently if the ResourceInjectionService returns null for a resource we build 
a proxy that is guaranteed to never work.  I think this is really confusing for 
users.  Instead, as Mark suggested, lets return null if the resource is null.  
In addition, the ResourceInjectionService implementation can throw an exception 
if it does not want to return null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to