9 A base
class for objects that we want to be configurable in the following sense:
10 1) have a pointer to the $config
12 3) automatically apply that context when getting and setting
16 Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
17 Copyright [2016-2024] EMBL-European Bioinformatics Institute
19 Licensed under the Apache License,
Version 2.0 (the "License"); you may not use this file except in compliance with the License.
20 You may obtain a copy of the License at
24 Unless required by applicable law or agreed to in writing, software distributed under the License
25 is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 See the License for the specific language governing permissions and limitations under the License.
30 Please subscribe to the
Hive mailing list: http:
45 $self->{
'_config'} = shift @_;
47 return $self->{
'_config'};
55 $self->{
'_context'} = shift @_;
57 return $self->{
'_context'};
64 return $self->
config->get( @{$self->context}, @_ );
71 return $self->config->set( @{$self->context}, @_ );