@StableMinor(version="12.3", sinceVersion="4.0") public class SourceContext extends Object implements ISourceContext
ISourceContext
that can
be constructed from a DouiContext
or from
the other values it will provide.Constructor and Description |
---|
SourceContext(DouiContext douiContext)
Creates a source context that belongs to a doui context.
|
SourceContext(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Creates a source context that does not belongs to a doui context.
|
Modifier and Type | Method and Description |
---|---|
DouiContext |
getDouiContext()
Returns the doui context this source context belongs to.
|
ServiceInstanceConfig |
getServiceInstanceConfig()
Returns the service instance of this context.
|
SessionConfig |
getSessionConfig()
Returns the user session information.
|
ITransaction |
getTransaction()
Returns the transaction for persistence access.
|
public SourceContext(DouiContext douiContext)
douiContext
- the doui context.public SourceContext(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction)
sessionConfig
- the session config for this context.serviceInstanceConfig
- the service instance for this context.transaction
- the transaction for this context.public DouiContext getDouiContext()
ISourceContext
getDouiContext
in interface ISourceContext
public ServiceInstanceConfig getServiceInstanceConfig()
ISourceContext
getServiceInstanceConfig
in interface ISourceContext
public SessionConfig getSessionConfig()
ISourceContext
getSessionConfig
in interface ISourceContext
public ITransaction getTransaction()
ISourceContext
getTransaction
in interface ISourceContext
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.