Class FakeService

java.lang.Object
org.nuiton.topiatest.service.FakeService
All Implemented Interfaces:
org.nuiton.topia.framework.TopiaService

public class FakeService extends Object implements org.nuiton.topia.framework.TopiaService
FakeService which implements TopiaService to test existing service from TopiaContextImplTest.testGetServices(). This fake service doesn't contains property SERVICE_NAME used by TopiaContextImpl.serviceEnabled(Class). Created: 10 mai 2010
Version:
$Id$
Author:
fdesbois <fdesbois@codelutin.com>
  • Constructor Details

    • FakeService

      public FakeService()
  • Method Details

    • getServiceName

      public String getServiceName()
      Specified by:
      getServiceName in interface org.nuiton.topia.framework.TopiaService
    • getPersistenceClasses

      public Class<?>[] getPersistenceClasses()
      Specified by:
      getPersistenceClasses in interface org.nuiton.topia.framework.TopiaService
    • preInit

      public boolean preInit(org.nuiton.topia.framework.TopiaContextImplementor context)
      Specified by:
      preInit in interface org.nuiton.topia.framework.TopiaService
    • postInit

      public boolean postInit(org.nuiton.topia.framework.TopiaContextImplementor context)
      Specified by:
      postInit in interface org.nuiton.topia.framework.TopiaService