<p>I want to autowire a bean partially - that is, I want some args to be autowired but other to be explicitly set. For example:</p>

<p>public MyClient(Service svc, boolean b)</p>

<p>In the case of this constructor, I would like to specify in my xml the value for b, but have svc autowired. Is that possible?</p>

<p>Thanks,
Lowell</p>

I don't think it is possible with constructors, but with explicit setters it certainly is. Just annotate the ones you want autowired with @Autowired, and set the others in your config-file
Something like:
```
```
public MyClient() {}

@Autowired
public setService (Service svc) {...}

public setBoolean (boolean b) {...}
```
```
and then in your config
```
```
<context:annotation-config />

<bean id="service">...</bean>

<bean id="yourbean" class="MyClient">
    <property name="b" value="true"/>
</bean>
```
```