You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Akil <as...@swbell.net> on 2002/02/09 20:03:05 UTC

A note for ContentInterceptor implementors

The NamespaceConfig object can be accessed thru

    Content.getNamespace().getConfig()

There is hence no need to pass the NamespaceConfig object into the
ContentInterceptor interface class methods as
the content object is being passed in as an argument to each of the methods.

Similarly the Logger objects ( both the Logger as well as the
ApplicationLogger ) can also be accessed thru

    Content.getNamespace().getLogger()
    Content.getNamespace().getApplicationLogger()

These can be used to add to the logs as needed.

Akil






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>