org.apache.lucene.gdata.server.registry
Interface ScopeVisitor

All Known Implementing Classes:
DB4oController, ProvidedServiceConfig

public interface ScopeVisitor

ScopeVisitor is used to implement the Visitor pattern in GDATAServer. An object of this interface can be passed to a ScopeVistable which will then call its methods.
Component Classes registered in the GDataServerRegistry will be added to the Visitableimplementation automatically. Please refer to the Gang of Four book of Design Patterns for more details on the Visitor pattern.

A scope can be Session, Request or Context if one of the ScopeVisitors for the desired scope is available by the registry.

This site has further discussion on design patterns and links to the GOF book. This link describes the Visitor pattern in detail.

Author:
Simon Willnauer

Method Summary
 void visiteDestroy()
          Visites the destory of the scope
 void visiteInitialize()
          Visites the initialization of the scope
 

Method Detail

visiteInitialize

void visiteInitialize()
Visites the initialization of the scope


visiteDestroy

void visiteDestroy()
Visites the destory of the scope



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.