Solstice::NamespaceService - Used by the framework to discover the configuration namespace of the app it is currently running.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::NamespaceService - Used by the framework to discover the configuration namespace of the app it is currently running.

SYNOPSIS

Top

    #in the main handler, this is initialized:
    my $ns_service = Solstice::NamespaceService->new();
    $ns_service->_setAppNamespace('WEBQ');

    #later, when checking whether the boilerplate/css file is overridden:
    my $ns_service = Solstice::NamespaceService->new();
    my $config = Solstice::Configure->new($ns_service->getAppNamespace());

    if(defined $config->getBoilerplateTemplate()){
        #override the default
    }




Superclass

Solstice::Service

Export

No symbols exported.

Methods

new()

Creates a new Solstice::NamespaceService object.

getNamespace()

synonym for getAppNamespace

getAppNamespace()

Return the application namespace.

Private Methods

_setAppNamespace($namespace)
_getClassName()

Return the class name. Overridden to avoid a ref() in the superclass.

Modules Used

Solstice::Service.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 2940 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.