Class FakeService

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

public class FakeService
extends java.lang.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 Summary

    Constructors 
    Constructor Description
    FakeService()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Class<?>[] getPersistenceClasses()  
    java.lang.String getServiceName()  
    boolean postInit​(org.nuiton.topia.framework.TopiaContextImplementor context)  
    boolean preInit​(org.nuiton.topia.framework.TopiaContextImplementor context)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getServiceName

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

      public java.lang.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