Log4j 1.0.1

pl.psnc.expres.broker.correlation.strategy
Class AbstractCorrelationStrategy

java.lang.Object
  extended by pl.psnc.expres.broker.correlation.strategy.AbstractCorrelationStrategy
All Implemented Interfaces:
ICorrelationStrategy
Direct Known Subclasses:
RoundRobinStrategy

public abstract class AbstractCorrelationStrategy
extends java.lang.Object
implements ICorrelationStrategy

AbstractCorrelationStrategy class

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Field Summary
protected  org.apache.commons.logging.Log log
          Stores instance of field: log
 
Constructor Summary
AbstractCorrelationStrategy(CorrelationJobValue corJobValue)
          Creates a new instance of AbstractCorrelationStrategy with the given correlation job details
 
Method Summary
 CorrelationJobValue getCorJobValue()
          Get instance of correlation job value
 pl.psnc.expres.model.resource.ResourceValue[] getCorrelatorArray()
          Get value of field: correlatorArray
 int getCorrelatorCount()
          Get number of correlation nodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pl.psnc.expres.broker.correlation.strategy.ICorrelationStrategy
nextCorrelator, previousCorrelator
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Stores instance of field: log

Constructor Detail

AbstractCorrelationStrategy

public AbstractCorrelationStrategy(CorrelationJobValue corJobValue)
                            throws pl.psnc.vlab.exception.ResourceNotFoundException
Creates a new instance of AbstractCorrelationStrategy with the given correlation job details

Parameters:
corJobValue - correlation job details
Throws:
pl.psnc.vlab.exception.ResourceNotFoundException - thrown when correlation nodes could not be found
Method Detail

getCorJobValue

public CorrelationJobValue getCorJobValue()
Get instance of correlation job value

Returns:
instance of correlation job value

getCorrelatorCount

public int getCorrelatorCount()
Get number of correlation nodes

Specified by:
getCorrelatorCount in interface ICorrelationStrategy
Returns:
number of correlation nodes

getCorrelatorArray

public pl.psnc.expres.model.resource.ResourceValue[] getCorrelatorArray()
Get value of field: correlatorArray

Returns:
the correlatorArray

Log4j 1.0.1

Dominik Stoklosa Copyright 2007-2009 by PSNC