org.chorem.pollen.services
Interface PollenServiceContext

All Known Implementing Classes:
DefaultPollenServiceContext

public interface PollenServiceContext

This contract represents objects you must provide when asking for a service. Objects provided may be injected in services returned by PollenServiceFactory.newService(Class, PollenServiceContext)

Since:
1.3
Author:
tchemit

Method Summary
 URL getApplicationURL()
           
 PollenConfiguration getConfiguration()
           
 Date getCurrentTime()
           
 Locale getLocale()
           
 PollenServiceFactory getServiceFactory()
           
 org.nuiton.topia.TopiaContext getTransaction()
           
 boolean isCanSendEmail()
           
<E extends PollenService>
E
newService(Class<E> clazz)
           
 void setTransaction(org.nuiton.topia.TopiaContext transaction)
           
 

Method Detail

getTransaction

org.nuiton.topia.TopiaContext getTransaction()

setTransaction

void setTransaction(org.nuiton.topia.TopiaContext transaction)

getLocale

Locale getLocale()

getApplicationURL

URL getApplicationURL()

isCanSendEmail

boolean isCanSendEmail()

getConfiguration

PollenConfiguration getConfiguration()

getServiceFactory

PollenServiceFactory getServiceFactory()

newService

<E extends PollenService> E newService(Class<E> clazz)

getCurrentTime

Date getCurrentTime()
Returns:
the current date


Copyright © 2009-2012 CodeLutin. All Rights Reserved.