This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75485

Summary: Need to say that injected field has to be static
Product: javaee Reporter: Lukas Jungmann <jungi>
Component: EJBAssignee: Martin Adamek <madamek>
Status: VERIFIED FIXED    
Severity: blocker CC: mkrauskopf
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2006-04-25 13:18:50 UTC
For injection to work correctly in app client's main class the injected field
has to be made static. Currently I see no way how to do it (This blocks Call EJB
Action in app client project)
Comment 1 Martin Adamek 2006-04-25 15:25:22 UTC
Fixed.
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/entres/UseDatabaseAction.java,v
 <--  UseDatabaseAction.java
new revision: 1.3.2.3.2.7; previous revision: 1.3.2.3.2.6
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/entres/SendEmailAction.java,v
 <--  SendEmailAction.java
new revision: 1.1.2.4.2.2; previous revision: 1.1.2.4.2.1
/cvs/web/core/src/org/netbeans/modules/web/core/Attic/WebInjectionTargetQueryImplementation.java,v
 <--  WebInjectionTargetQueryImplementation.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/Attic/AppClientInjectionTargetQueryImplementation.java,v
 <--  AppClientInjectionTargetQueryImplementation.java
new revision: 1.1.2.1; previous revision: 1.1
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/Attic/EjbInjectionTargetQueryImplementation.java,v
 <--  EjbInjectionTargetQueryImplementation.java
new revision: delete; previous revision: 1.1.2.1
/cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/queries/api/Attic/InjectionTargetQuery.java,v
 <--  InjectionTargetQuery.java
new revision: 1.1.2.3; previous revision: 1.1.2.2
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/Attic/EjbInjectionTargetQueryImplementation.java,v
 <--  EjbInjectionTargetQueryImplementation.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
/cvs/j2ee/clientproject/src/META-INF/services/Attic/org.netbeans.modules.j2ee.common.queries.spi.InjectionTargetQueryImplementation,v
 <-- 
org.netbeans.modules.j2ee.common.queries.spi.InjectionTargetQueryImplementation
new revision: 1.1.2.2; previous revision: 1.1.2.1
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/Attic/JSFInjectionTargetQueryImplementation.java,v
 <--  JSFInjectionTargetQueryImplementation.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/ejb/dnd/Attic/EjbReferenceImpl.java,v
 <--  EjbReferenceImpl.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
/cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/queries/spi/Attic/InjectionTargetQueryImplementation.java,v
 <--  InjectionTargetQueryImplementation.java
new revision: 1.1.2.3; previous revision: 1.1.2.2
Comment 2 Lukas Jungmann 2006-05-02 16:06:33 UTC
v. in beta