javax.microedition.ipdr.callback
Class TemplateNegotiatorFactory

java.lang.Object
  extended byjavax.microedition.ipdr.callback.TemplateNegotiatorFactory

public class TemplateNegotiatorFactory
extends java.lang.Object

This interface is defining the TemplateNegotiator factory. This interface is being sent as input to the ExporeterManager implementation and enables the implementation to get a new TemplateNegotiator whenever it it is necessary. The ExporterManager implementation get a factory and not simply the TemplateNegotiator this enable the ETA implementation to construct new TemplateNegotiator per thread. This way TemplateNegotiator implementation does not have to be thread safe.

Version:
1.0
Author:
Shai Gotlib
See Also:
TemplateNegotiator, ExporterManager

Constructor Summary
TemplateNegotiatorFactory()
           
 
Method Summary
static TemplateNegotiator getTemplateNegotiator(CollectorConfig collectorConfig)
          Returns an instance of Template Negotiator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateNegotiatorFactory

public TemplateNegotiatorFactory()
Method Detail

getTemplateNegotiator

public static TemplateNegotiator getTemplateNegotiator(CollectorConfig collectorConfig)
Returns an instance of Template Negotiator

Parameters:
collectorConfig - the collector configuration
Returns:
TemplateNegotiator