|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.source.SourceContext
@StableMinor(version="6.2", sinceVersion="4.0") public class SourceContext
Implementation for a ISourceContext
that can
be constructed from a DouiContext
or from
the other values it will provide.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |