Is there any way to have a non-component class work with injection,
w/o having to turn it into a service itself?

@Inject
private SystemProperties sysProps;

I have a class that simply zips up files, and it needs access to a
system properties service. IIRC, but when I tried this in the past, it
didn't work for classes that were not pages/components. I also don't
want to necessarily turn a class into a service merely to give it
access to another service.

Any way to do this? Or was I simply doing it wrong before?

-Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to