Jesse Luehrs > Bread-Board-Declare-0.15 > Bread::Board::Declare::Meta::Role::Attribute::Service

Download:
Bread-Board-Declare-0.15.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.15   Source   Latest Release: Bread-Board-Declare-0.16

NAME ^

Bread::Board::Declare::Meta::Role::Attribute::Service - attribute metarole for service attributes in Bread::Board::Declare

VERSION ^

version 0.15

DESCRIPTION ^

This role adds functionality to the attribute metaclass for Bread::Board::Declare objects.

ATTRIBUTES ^

block

The block to use when creating a Bread::Board::BlockInjection service.

literal_value

The value to use when creating a Bread::Board::Literal service. Note that the parameter that should be passed to has is value.

lifecycle

The lifecycle to use when creating the service. See Bread::Board::Service and Bread::Board::LifeCycle.

dependencies

The dependency specification to use when creating the service. See Bread::Board::Service::WithDependencies.

parameters

The parameter specification to use when creating the service. See Bread::Board::Service::WithParameters.

infer

If true, the dependency list will be inferred as much as possible from the attributes in the class. See Bread::Board::Manual::Concepts::Typemap for more information. Note that this is only valid for constructor injection services.

constructor_name

The constructor name to use when creating Bread::Board::ConstructorInjection services. Defaults to new.

associated_service

The service object that is associated with this attribute.

AUTHOR ^

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: