|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.resource.ConfigProvider
A very simple provider which simply takes the config information passed to it by the broker and returns it.
Constructor Summary | |
ConfigProvider()
|
Method Summary | |
void |
destroy()
Close down this provider, freeing any allocated resources. |
void |
flush()
Clear any cache this provider may be maintaining |
java.lang.Object |
get(java.lang.String key)
Get the object associated with the specified query |
java.lang.String |
getType()
Return an array representing the types this provider serves up |
void |
init(Broker b,
Settings config)
Initialize this provider based on the specified config. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigProvider()
Method Detail |
public java.lang.String getType()
Provider
getType
in interface Provider
public void init(Broker b, Settings config) throws InitException
Provider
init
in interface Provider
InitException
public void flush()
Provider
flush
in interface Provider
public void destroy()
Provider
destroy
in interface Provider
public java.lang.Object get(java.lang.String key) throws NotFoundException
Provider
get
in interface Provider
NotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |