Package org.nuiton.topiatest.service
Class TestService
java.lang.Object
org.nuiton.topiatest.service.TestService
- All Implemented Interfaces:
org.nuiton.topia.framework.TopiaService
public class TestService
extends java.lang.Object
implements org.nuiton.topia.framework.TopiaService
TestService which implements
TopiaService to test loading from TopiaContextImplTest.testLoadServices().
Created: 10 mai 2010- Version:
- $Id$
- Author:
- fdesbois <fdesbois@codelutin.com>
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAMENeeded field to useTopiaContext.serviceEnabled(Class)* -
Constructor Summary
Constructors Constructor Description TestService() -
Method Summary
Modifier and Type Method Description java.lang.Class<?>[]getPersistenceClasses()java.lang.StringgetServiceName()booleanpostInit(org.nuiton.topia.framework.TopiaContextImplementor context)booleanpreInit(org.nuiton.topia.framework.TopiaContextImplementor context)
-
Field Details
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAMENeeded field to useTopiaContext.serviceEnabled(Class)*- See Also:
- Constant Field Values
-
-
Constructor Details
-
TestService
public TestService()
-
-
Method Details
-
getServiceName
public java.lang.String getServiceName()- Specified by:
getServiceNamein interfaceorg.nuiton.topia.framework.TopiaService
-
getPersistenceClasses
public java.lang.Class<?>[] getPersistenceClasses()- Specified by:
getPersistenceClassesin interfaceorg.nuiton.topia.framework.TopiaService
-
preInit
public boolean preInit(org.nuiton.topia.framework.TopiaContextImplementor context)- Specified by:
preInitin interfaceorg.nuiton.topia.framework.TopiaService
-
postInit
public boolean postInit(org.nuiton.topia.framework.TopiaContextImplementor context)- Specified by:
postInitin interfaceorg.nuiton.topia.framework.TopiaService
-