![]() |
![]()
| ![]() |
![]()
NAMEIOC::Service::SetterInjection - An IOC Service object which uses Setter Injection SYNOPSISuse IOC::Service::SetterInjection; my $service = IOC::Service::SetterInjection->new('logger' => ( 'FileLogger', 'new', [ # fetch a component from another container { setLogFileHandle => '/filesystem/log_file_handle' }, # fetch a component from our own container { setLogFileFormat => 'log_file_format' } ])); DESCRIPTIONIn this IOC framework, the IOC::Service::SetterInjection object holds instances of components to be managed. +--------------+ | IOC::Service | +--------------+ | ^ | +-------------------------------+ | IOC::Service::SetterInjection | +-------------------------------+ METHODS
TO DOBUGSNone that I am aware of. Of course, if you find a bug, let me know, and I will be sure to fix it. CODE COVERAGEI use Devel::Cover to test the code coverage of my tests, see the CODE COVERAGE section of IOC for more information. SEE ALSO
AUTHORstevan little, <stevan@iinteractive.com> COPYRIGHT AND LICENSECopyright 2004-2007 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|