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


Manual Reference Pages  -  IOC::SERVICE::PARAMETERIZED (3)

.ds Aq ’

NAME

IOC::Service::Parameterized - An IOC Service object which accepts a set of parameters for the instance

CONTENTS

DESCRIPTION

This is just like IOC::Service::Prototype, expect that it will accepts a set of key/value parameters to the instance method. It is used to support IOC::Service::Parameterized.



          +--------------+
          | IOC::Service |
          +--------------+
                 |
                 ^
                 |
  +-----------------------------+
  | IOC::Service::Parameterized |
  +-----------------------------+



CAVEAT

It does not make any sense to have ConstructorInjection or SetterInjection subclasses of this, so they will probably never get created (at least not by me).

METHODS

<B>instance (%params)B> This method returns the literal value held by the service object based on the parameters.
<B>setContainer ($c)B> This just makes sure that our service is always being added to IOC::Container::Parameterized container objects. Otherwise the parameterization wouldn’t work.
<B>deferredB> A parameterized service does not support being deferred.

BUGS

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

CODE COVERAGE

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

SEE ALSO

AUTHOR

stevan little, <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

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.

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


perl v5.20.3 IOC::SERVICE::PARAMETERIZED (3) 2007-04-27

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