lumis.doui.source
Class SourceFactory

Package class diagram package SourceFactory
java.lang.Object
  extended by lumis.doui.source.SourceFactory

@StableMinor(version="6.2",
             sinceVersion="4.0")
public class SourceFactory
extends Object

Create instances of Source derived classes

Since:
4.0.0

Constructor Summary
SourceFactory()
           
 
Method Summary
static Source createSource(Node sourceDefinitionNode, ISourceContext sourceContext)
           
static Source createSource(String sourceId, ISourceContext sourceContext)
          Create a source instance and return it.
static Class<? extends Source> getSourceClass(Node sourceDefinitionNode, ITransaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceFactory

public SourceFactory()
Method Detail

getSourceClass

public static Class<? extends Source> getSourceClass(Node sourceDefinitionNode,
                                                     ITransaction transaction)
                                              throws PortalException
Throws:
PortalException

createSource

public static Source createSource(Node sourceDefinitionNode,
                                  ISourceContext sourceContext)
                           throws PortalException
Throws:
PortalException

createSource

public static Source createSource(String sourceId,
                                  ISourceContext sourceContext)
                           throws PortalException
Create a source instance and return it.

Parameters:
sourceId - the source id.
sourceContext - the source's context.
Returns:
the source.
Throws:
PortalException
Since:
4.0.7


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.