org.ikasan.framework
Class ResourceLoader

java.lang.Object
  extended by org.ikasan.common.ResourceLoader
      extended by org.ikasan.framework.ResourceLoader

public class ResourceLoader
extends ResourceLoader

Singleton for loading framework environment resources

Author:
Ikasan Development Team

Field Summary
protected static String FLOW_IMPL_CLASS
          Flow implementation class
protected  String flowImplClass
          concrete class names
 
Fields inherited from class org.ikasan.common.ResourceLoader
CONTEXT_IMPL_CLASS, contextImplClass, ENVIRONMENT_IMPL_CLASS, environmentImplClass, FILE_SEPARATOR, ikasanEnv, payloadClass, PERSISTENCE_IMPL_CLASS, persistenceImplClass, RESOURCE_NAME, resources, STRINGTRANSFORMER_IMPL_CLASS, stringTransformerImplClass, XMLPARSER_IMPL_CLASS, xmlParserImplClass, XMLTRANSFORMER_IMPL_CLASS, xmlTransformerImplClass, XSLTRANSFORMER_IMPL_CLASS, xslTransformerImplClass
 
Method Summary
static ResourceLoader getInstance()
          Singleton constructor
 void loadAllResources(Properties props)
          Convenience method to load all resources from a given properties.
 FrameworkEnvironment newEnvironment()
          Get a new instance of the FrameworkEnvironment
 void setFlowImplClass(String flowImplClass)
          Set the flow implementation class
 String toString()
          String presentation of the properties settings
TODO Needs implementation
 
Methods inherited from class org.ikasan.common.ResourceLoader
getAsByteArray, getCommonXmlParser, getContextImplClass, getEnvironmentImplClass, getIkasanConfigurationDirectory, getIkasanSecurityService, getJMSJndiTemplate, getPersistenceImplClass, getProperty, getStringTransformerImplClass, getXmlParserImplClass, getXmlTransformerImplClass, getXslTransformerImplClass, newContext, newContext, newStringTransformer, newXMLParser, newXMLTransformer, newXSLTransformer, setContextImplClass, setEnvironmentImplClass, setPersistenceImplClass, setStringTransformerImplClass, setXmlParserImplClass, setXmlTransformerImplClass, setXslTransformerImplClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FLOW_IMPL_CLASS

protected static String FLOW_IMPL_CLASS
Flow implementation class


flowImplClass

protected String flowImplClass
concrete class names

Method Detail

getInstance

public static ResourceLoader getInstance()
Singleton constructor

Returns:
ResourceLoader

loadAllResources

public void loadAllResources(Properties props)
Convenience method to load all resources from a given properties.

Overrides:
loadAllResources in class ResourceLoader
Parameters:
props - Properties of this resource

toString

public String toString()
String presentation of the properties settings
TODO Needs implementation

Overrides:
toString in class ResourceLoader
Returns:
String

setFlowImplClass

public void setFlowImplClass(String flowImplClass)
Set the flow implementation class

Parameters:
flowImplClass - the flowImplClass to set

newEnvironment

public FrameworkEnvironment newEnvironment()
Get a new instance of the FrameworkEnvironment

Overrides:
newEnvironment in class ResourceLoader
Returns:
FrameworkEnvironment


Copyright © 2007-2012 Ikasan. All Rights Reserved.