uk.org.iscream.cms.server.rootfilter
Class RootFilterServant

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byuk.org.iscream.cms.server.filter.FilterPOA
          extended byuk.org.iscream.cms.server.rootfilter.RootFilterServant
All Implemented Interfaces:
FilterOperations, InvokeHandler

class RootFilterServant
extends FilterPOA

A root filter servant has an array of client interfaces where data should be piped.

Version:
$Id: RootFilterServant.java,v 1.22 2004/08/01 10:41:06 tdb Exp $
Author:
$Author: tdb $

Field Summary
private  Logger _logger
          This holds a reference to the system logger that is being used.
private  String _name
          This is the friendly identifier of the component this class is running in.
private  Queue _queue
          A reference to the Queue being used.
 String REVISION
          The current CVS revision of this class
 
Fields inherited from class uk.org.iscream.cms.server.filter.FilterPOA
 
Fields inherited from class org.omg.PortableServer.Servant
 
Constructor Summary
RootFilterServant(Queue queue)
          Creates a new RootFilter.
 
Method Summary
 void receiveXML(String xml)
          Method to receive a string over corba.
 String toString()
          Overrides the Object.toString() method to provide clean logging (every class should have this).
 
Methods inherited from class uk.org.iscream.cms.server.filter.FilterPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REVISION

public final String REVISION
The current CVS revision of this class

See Also:
Constant Field Values

_name

private String _name
This is the friendly identifier of the component this class is running in. eg, a Filter may be called "filter1", If this class does not have an owning component, a name from the configuration can be placed here. This name could also be changed to null for utility classes.


_logger

private Logger _logger
This holds a reference to the system logger that is being used.


_queue

private Queue _queue
A reference to the Queue being used.

Constructor Detail

RootFilterServant

public RootFilterServant(Queue queue)
Creates a new RootFilter.

Parameters:
queue - a Queue to use
Method Detail

receiveXML

public void receiveXML(String xml)
Method to receive a string over corba.

Parameters:
xml - the String of XML to send on

toString

public String toString()
Overrides the Object.toString() method to provide clean logging (every class should have this). This uses the uk.org.iscream.cms.util.NameFormat class to format the toString()

Returns:
the name of this class and its CVS revision


Copyright © 2000-2003 i-scream. All Rights Reserved.