uk.org.toot.service
Class ServiceVisitor

java.lang.Object
  extended by uk.org.toot.service.ServiceVisitor
Direct Known Subclasses:
ServicePrinter

public class ServiceVisitor
extends java.lang.Object

ServiceVisitor defines the Gang of Four Visitor pattern contract for visiting service providers and their provided service descriptors. It is provided as a class with empty implementations rather than an interface so that simple implementations need override only one of the methods.


Constructor Summary
ServiceVisitor()
           
 
Method Summary
 void visitDescriptor(ServiceDescriptor d)
           
 void visitProvider(ServiceProvider p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceVisitor

public ServiceVisitor()
Method Detail

visitProvider

public void visitProvider(ServiceProvider p)

visitDescriptor

public void visitDescriptor(ServiceDescriptor d)


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.