# user overrides the container (which is what we want), the sub-container they
# will use is precisely $type, not 'component'. So for now, I'm returning both
# services, to decide later what to do.
+# TODO
+# add pod, remove code repetition
sub get_all_component_services {
my $self = shift;
return lock_hash %components;
}
+# TODO
+# add pod, remove code repetition
sub get_all_singleton_lifecycle_components {
my $self = shift;
return lock_hash %components;
}
+# TODO
+# remove code repetition
sub get_all_components {
my ($self, $class) = @_;
my %components;
isa_ok($received_info->{backcompat_service}, $info->{bcpt_service_isa}, 'backcompat_service');
}
+# TODO
+# move this somewhere else, or rename the test
my %singleton_component_classes;
can_ok($c, 'get_all_singleton_lifecycle_components');
ok(my $singleton_comps = $c->get_all_singleton_lifecycle_components, 'singleton components are fetched');