Package org.javlo.ztatic
Class ResourceFactory
- java.lang.Object
-
- org.javlo.ztatic.ResourceFactory
-
public class ResourceFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCache()static ResourceFactorygetInstance(ContentContext ctx)Collection<StaticInfo>getResources(ContentContext ctx)StaticInfogetStaticInfo(ContentContext ctx, StaticInfo.ReferenceBean ref)voidupdate(ContentContext ctx, StaticInfo staticInfo)
-
-
-
Method Detail
-
getInstance
public static ResourceFactory getInstance(ContentContext ctx)
-
getResources
public Collection<StaticInfo> getResources(ContentContext ctx) throws Exception
- Throws:
Exception
-
getStaticInfo
public StaticInfo getStaticInfo(ContentContext ctx, StaticInfo.ReferenceBean ref) throws Exception
- Throws:
Exception
-
clearCache
public void clearCache()
-
update
public void update(ContentContext ctx, StaticInfo staticInfo) throws Exception
- Throws:
Exception
-
-