org.nuiton.topiatest.service
Class FakeService

java.lang.Object
  extended by 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: FakeService.java 2245 2011-04-14 12:47:09Z tchemit $
Author:
fdesbois

Constructor Summary
FakeService()
           
 
Method Summary
 Class<?>[] getPersistenceClasses()
           
 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 Detail

FakeService

public FakeService()
Method Detail

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


Copyright © 2004-2011 CodeLutin. All Rights Reserved.