NAME
XAO::DO::Embeddable - recommended base object for XAO embeddable configs
SYNOPSIS
package XAO::DO::Foo::Config;
use strict;
use XAO::Objects;
use base XAO::Objects->load(objname => 'Embeddable');
DESCRIPTION
Provides set_base_config() and base_config() methods to embeddable configs based on it.
METHODS
- set_base_config ($)
-
Called automatically with one argument -- reference to the configuration object it is being embedded into.
- base_config ($)
-
Returns previously stored base config reference. Reason to have this method is the following: methods of embedded configs are called in the namespace of their own and common configuration object is not available from them through normal @ISA relations.
EXPORTS
Nothing.
AUTHOR
Copyright (c) 2003 XAO, Inc.
Andrew Maltsev <am@xao.com>.