@StableMinor(version="12.4", sinceVersion="4.0") public class SourceFactory extends Object
Constructor and Description |
---|
SourceFactory() |
Modifier and Type | Method and Description |
---|---|
static Source |
createSource(Node sourceDefinitionNode,
ISourceContext sourceContext) |
static Source |
createSource(String sourceId,
ISourceContext sourceContext)
Create a source instance and return it.
|
static Source<?> |
createSource(String sourceId,
String serviceInstanceId)
Creates a source.
|
static Class<? extends Source> |
getSourceClass(Node sourceDefinitionNode,
ITransaction transaction) |
public static Class<? extends Source> getSourceClass(Node sourceDefinitionNode, ITransaction transaction) throws PortalException
PortalException
public static Source createSource(Node sourceDefinitionNode, ISourceContext sourceContext) throws PortalException
PortalException
public static Source createSource(String sourceId, ISourceContext sourceContext) throws PortalException
sourceId
- the source id.sourceContext
- the source's context.PortalException
public static Source<?> createSource(String sourceId, String serviceInstanceId) throws PortalException
current transaction
and
current session
will be used for the source's context.sourceId
- the source id.serviceInstanceId
- the source's service instance identifier.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.