Bug 1090960 - Allow property injection into non-service beans
Summary: Allow property injection into non-service beans
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Keith Babo
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-24 13:23 UTC by Anton Giertli
Modified: 2019-02-15 13:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Feature Request


Attachments (Terms of Use)
reproducer (73.07 KB, application/zip)
2014-04-24 13:23 UTC, Anton Giertli
no flags Details


Links
System ID Priority Status Summary Last Updated
JBoss Issue Tracker SWITCHYARD-1993 Optional Open Allow for injection of parameters into non-service annotated classes 2015-08-24 06:25:31 UTC

Description Anton Giertli 2014-04-24 13:23:23 UTC
Created attachment 889280 [details]
reproducer

Description of problem:
Currently it is not possible to inject property into other bean besides service.

For example:

@Named("UpdateStatus")
public class OrderInterceptor implements ExchangeInterceptor {
	
	@Property(name = "propertyName")
    private String propertyName; 
	

	
	

    @Override
    public void before(String target, Exchange exchange) throws HandlerException {

//propertyName is always null
       }

Version-Release number of selected component (if applicable):
FSW 6.0.0

How reproducible:

always
Steps to Reproduce:
1. download reproducer
2. mvn clean package jboss:as-deploy (running FSW is required)
3. mvn exec:java


Actual results:

Property value is always null

Expected results:

Property value is correctly retrieved
Additional info:


Note You need to log in before you can comment on or make changes to this bug.