Class TestcontainerScope
- java.lang.Object
-
- com.playtika.test.selenium.testscope.TestcontainerScope
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
public class TestcontainerScope extends Object implements org.springframework.beans.factory.config.Scope
-
-
Constructor Summary
Constructors Constructor Description TestcontainerScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterTestMethod(org.springframework.test.context.TestContext testContext)voidbeforeTestMethod(org.springframework.test.context.TestContext testContext)Objectget(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)StringgetConversationId()voidregisterDestructionCallback(String name, Runnable callback)Objectremove(String name)ObjectresolveContextualObject(String key)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
- Specified by:
getin interfaceorg.springframework.beans.factory.config.Scope
-
remove
public Object remove(String name)
- Specified by:
removein interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
public void registerDestructionCallback(String name, Runnable callback)
- Specified by:
registerDestructionCallbackin interfaceorg.springframework.beans.factory.config.Scope
-
resolveContextualObject
public Object resolveContextualObject(String key)
- Specified by:
resolveContextualObjectin interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
public String getConversationId()
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-
afterTestMethod
public void afterTestMethod(org.springframework.test.context.TestContext testContext)
-
beforeTestMethod
public void beforeTestMethod(org.springframework.test.context.TestContext testContext)
-
-