org.mmbase.module.builders.vwms
Interface VwmInterface

All Superinterfaces:
MMBaseObserver
All Known Subinterfaces:
VwmServiceInterface
All Known Implementing Classes:
ImageMaster, PageMaster, Vwm

Deprecated. all known implementations extend Vwm so why use an interface?

public interface VwmInterface
extends MMBaseObserver

Virtual Web Master interface. A VWM should implement this interface. The routines defined here are entry routines for initializing a VWM, associating listeners (clients) with the VWM, and managing changes in local and remote nodes.

Version:
$Id: VwmInterface.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Daniel Ockeloen, Pierre van Rooden (javadocs)
Application:
VWMs

Method Summary
 boolean addClient(VwmCallBackInterface client)
          Deprecated. Add a client to the listen queue of the wvm.
 void init(MMObjectNode node, Vwms Vwms)
          Deprecated. Initialize the Vwm.
 boolean releaseClient(VwmCallBackInterface client)
          Deprecated. Release a client from the listen queue of the wvm.
 
Methods inherited from interface org.mmbase.module.core.MMBaseObserver
nodeLocalChanged, nodeRemoteChanged
 

Method Detail

init

void init(MMObjectNode node,
          Vwms Vwms)
Deprecated. 
Initialize the Vwm.

Parameters:
node -
Vwms - The VWMs builder. It is not really necessary as this is the same as the parent attribute of vwmnode.

addClient

boolean addClient(VwmCallBackInterface client)
Deprecated. 
Add a client to the listen queue of the wvm.

Parameters:
client - The client-object to add
Returns:
true if the client was added, false if it already existed in the queue.

releaseClient

boolean releaseClient(VwmCallBackInterface client)
Deprecated. 
Release a client from the listen queue of the wvm.

Parameters:
client - The client-object to release
Returns:
true if the client was released, false if it did not exist in the queue.


MMBase 2.0-SNAPSHOT - null