Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.fm.rss
Class channelStorageFactory  view channelStorageFactory download channelStorageFactory.java

java.lang.Object
  extended bycom.fm.rss.channelStorageFactory

public class channelStorageFactory
extends java.lang.Object

Defines a factory API that enables applications to configure and obtain a channel storage entity.

This is a dumb implementation, which actually does nothing except defining some common API


Field Summary
(package private)  java.util.HashMap params
           
 
Constructor Summary
protected channelStorageFactory()
           
 
Method Summary
 java.lang.Object getParamValue(java.lang.String param)
          Get configuration param values.
static channelStorageFactory newInstance()
           
 ChannelStorage newStorageInstance()
          Create new ChannelStorage instance
 void setParamValue(java.lang.String param, java.lang.Object value)
          Set configuration param.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

java.util.HashMap params
Constructor Detail

channelStorageFactory

protected channelStorageFactory()
Method Detail

newInstance

public static channelStorageFactory newInstance()

newStorageInstance

public ChannelStorage newStorageInstance()
Create new ChannelStorage instance


setParamValue

public void setParamValue(java.lang.String param,
                          java.lang.Object value)
Set configuration param. Basically factory accepts all params it is asked for .


getParamValue

public java.lang.Object getParamValue(java.lang.String param)
Get configuration param values. If no parameter with given name exists the null value will be returned.