at.ac.tuwien.infosys.sm4all.copal.api.helpers
Class AbstractContextProcessor

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.helpers.AbstractContextProcessor
All Implemented Interfaces:
ContextProcessor

public abstract class AbstractContextProcessor
extends Object
implements ContextProcessor

Helper class for ContextProcessors.

Author:
sanjin

Constructor Summary
protected AbstractContextProcessor(String name, ProcessorAction action)
          Use given name and given processor action as return values for getName() and getAction() methods respectively.
 
Method Summary
 ProcessorAction getAction()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface at.ac.tuwien.infosys.sm4all.copal.api.ContextProcessor
process
 

Constructor Detail

AbstractContextProcessor

protected AbstractContextProcessor(String name,
                                   ProcessorAction action)
Use given name and given processor action as return values for getName() and getAction() methods respectively.

Parameters:
name - the name of context processor.
action - the ProcessorAction of action this processor can handle.
Method Detail

getName

public String getName()
Specified by:
getName in interface ContextProcessor
Returns:
the globally unique name of the processor.

getAction

public ProcessorAction getAction()
Specified by:
getAction in interface ContextProcessor
Returns:
the processor action which this processor can handle.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.