view lib/IMPL/Config/Descriptor.pm @ 413:af8d359ee4cc ref20150831

working on di container
author cin
date Thu, 24 Sep 2015 12:19:30 +0300
parents c6e90e02dd17
children 3d24b10dd0d5
line wrap: on
line source

package IMPL::Config::Descriptor;
use strict;
use IMPL::Exception();

sub Activate {
	my ($this, $context) = @_;
	die IMPL::NotImplementedException->new();
}


1;

__END__

=pod

=head1 NAME

C<IMPL::Config::Descriptor> - the abstract base types for the service descriptors 

=head1 SYNOPSIS

=begin code

package MyDescriptor;

use IMPL::declare {
	base => {
		'IMPL::Config::Descriptor' => '@_'
	}
};

sub Activate {
	my ($this,$context) = @_;
	
	my $service = $context->GetService('service');
	my 
	 
}

=end code

=head1 MEMBERS

=head1 SEE ALSO

=over

=item * L<ReferenceDescriptor> - describes a reference to the service

=item * L<ServiceDescriptor> - descibes a service factory

=item * L<ValueDescriptor> - describes a value

=back

=cut