org.drools.io.impl
Class ResourceFactoryServiceImpl

java.lang.Object
  extended by org.drools.io.impl.ResourceFactoryServiceImpl
All Implemented Interfaces:
org.drools.io.ResourceFactoryService, org.drools.Service

public class ResourceFactoryServiceImpl
extends Object
implements org.drools.io.ResourceFactoryService


Constructor Summary
ResourceFactoryServiceImpl()
           
 
Method Summary
 org.drools.io.ResourceChangeNotifier getResourceChangeNotifierService()
           
 org.drools.io.ResourceChangeScanner getResourceChangeScannerService()
           
 org.drools.io.Resource newByteArrayResource(byte[] bytes)
           
 org.drools.io.Resource newClassPathResource(String path)
           
 org.drools.io.Resource newClassPathResource(String path, Class<?> clazz)
           
 org.drools.io.Resource newClassPathResource(String path, ClassLoader classLoader)
           
 org.drools.io.Resource newDescrResource(org.drools.definition.KnowledgeDescr descr)
           
 org.drools.io.Resource newFileSystemResource(File file)
           
 org.drools.io.Resource newFileSystemResource(String fileName)
           
 org.drools.io.Resource newInputStreamResource(InputStream stream)
           
 org.drools.io.Resource newReaderResource(Reader reader)
           
 org.drools.io.Resource newReaderResource(Reader reader, String encoding)
           
 org.drools.io.Resource newUrlResource(String path)
           
 org.drools.io.Resource newUrlResource(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactoryServiceImpl

public ResourceFactoryServiceImpl()
Method Detail

getResourceChangeNotifierService

public org.drools.io.ResourceChangeNotifier getResourceChangeNotifierService()
Specified by:
getResourceChangeNotifierService in interface org.drools.io.ResourceFactoryService

getResourceChangeScannerService

public org.drools.io.ResourceChangeScanner getResourceChangeScannerService()
Specified by:
getResourceChangeScannerService in interface org.drools.io.ResourceFactoryService

newByteArrayResource

public org.drools.io.Resource newByteArrayResource(byte[] bytes)
Specified by:
newByteArrayResource in interface org.drools.io.ResourceFactoryService

newClassPathResource

public org.drools.io.Resource newClassPathResource(String path)
Specified by:
newClassPathResource in interface org.drools.io.ResourceFactoryService

newClassPathResource

public org.drools.io.Resource newClassPathResource(String path,
                                                   ClassLoader classLoader)
Specified by:
newClassPathResource in interface org.drools.io.ResourceFactoryService

newClassPathResource

public org.drools.io.Resource newClassPathResource(String path,
                                                   Class<?> clazz)
Specified by:
newClassPathResource in interface org.drools.io.ResourceFactoryService

newFileSystemResource

public org.drools.io.Resource newFileSystemResource(File file)
Specified by:
newFileSystemResource in interface org.drools.io.ResourceFactoryService

newFileSystemResource

public org.drools.io.Resource newFileSystemResource(String fileName)
Specified by:
newFileSystemResource in interface org.drools.io.ResourceFactoryService

newInputStreamResource

public org.drools.io.Resource newInputStreamResource(InputStream stream)
Specified by:
newInputStreamResource in interface org.drools.io.ResourceFactoryService

newReaderResource

public org.drools.io.Resource newReaderResource(Reader reader)
Specified by:
newReaderResource in interface org.drools.io.ResourceFactoryService

newReaderResource

public org.drools.io.Resource newReaderResource(Reader reader,
                                                String encoding)
Specified by:
newReaderResource in interface org.drools.io.ResourceFactoryService

newUrlResource

public org.drools.io.Resource newUrlResource(URL url)
Specified by:
newUrlResource in interface org.drools.io.ResourceFactoryService

newUrlResource

public org.drools.io.Resource newUrlResource(String path)
Specified by:
newUrlResource in interface org.drools.io.ResourceFactoryService

newDescrResource

public org.drools.io.Resource newDescrResource(org.drools.definition.KnowledgeDescr descr)
Specified by:
newDescrResource in interface org.drools.io.ResourceFactoryService


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.