Merging of gsoc_breadboard
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Container.pm
index ba71092..e25fc5c 100644 (file)
@@ -43,7 +43,7 @@ has sub_container_class => (
     isa     => LoadableClass,
     is      => 'ro',
     coerce  => 1,
-    default => 'Bread::Board::Container',
+    default => 'Catalyst::SubContainer',
 );
 
 =head1 NAME
@@ -458,15 +458,6 @@ sub _config_substitutions {
     return $arg;
 }
 
-=head2 get_component
-
-=cut
-
-sub get_component {
-    my ( $self, $type, $name, $args ) = @_;
-    return $self->get_sub_container($type)->resolve( service => $name, parameters => { context => $args } );
-}
-
 =head1 AUTHORS
 
 =over 4