GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
IOC::Service::Prototype::ConstructorInjection(3) User Contributed Perl Documentation IOC::Service::Prototype::ConstructorInjection(3)

IOC::Service::Prototype::ConstructorInjection - An IOC Service object which returns a prototype instance

  use IOC::Service::Prototype::ConstructorInjection;

This class essentially can be used just like IOC::Service::ConsturctorInjection, the only difference is that it will return a new instance of the component each time rather than a singleton instance.

                        +--------------+
                        | IOC::Service |
                        +--------------+
                                |
                                ^
                                |
               +----------------+----------------+
               |                                 |
   +-------------------------+  +------------------------------------+
   | IOC::Service::Prototype |  | IOC::Service::ConstructorInjection |
   +-------------------------+  +------------------------------------+
               |                                 |   
               +----------------+----------------+
                                |
                                ^
                                |
         +-----------------------------------------------+ 
         | IOC::Service::Prototype::ConstructorInjection |
         +-----------------------------------------------+

Work on the documentation

None that I am aware of. Of course, if you find a bug, let me know, and I will be sure to fix it.

I use Devel::Cover to test the code coverage of my tests, see the CODE COVERAGE section of IOC for more information.

Prototype-style components are supported by the Spring Framework.
<http://www.springframework.com>
Non-Prototype-style Constructor Injection in the PicoContainer is explained on this page
<http://docs.codehaus.org/display/PICO/Constructor+Injection>

stevan little, <stevan@iinteractive.com>

Copyright 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.

2007-04-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.