Package lumis.portal.util
Interface PortalUtilInternal.ISessionConfigAware<T>
-
- Type Parameters:
T
-
- Enclosing class:
- PortalUtilInternal
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface PortalUtilInternal.ISessionConfigAware<T>
Piece of code that runs with a session config.- Since:
- 9.0.0
- Version:
- $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
exec(SessionConfig sessionConfig)
Executes a piece of code with a given session config.
-
-
-
Method Detail
-
exec
T exec(SessionConfig sessionConfig) throws java.lang.Exception
Executes a piece of code with a given session config.- Parameters:
sessionConfig
- the session config.- Returns:
- the code result.
- Throws:
java.lang.Exception
- Since:
- 9.0.0
-
-