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
getTransaction
org.nuiton.topia.TopiaContext getTransaction()
setTransaction
void setTransaction(org.nuiton.topia.TopiaContext transaction)
getLocale
Locale getLocale()
getApplicationURL
URL getApplicationURL()
getConfiguration
PollenConfiguration getConfiguration()
getServiceFactory
PollenServiceFactory getServiceFactory()
newService
<E extends PollenService> E newService(Class<E> clazz)
createPollenUrlId
String createPollenUrlId()
- createPollenUrlId :
Create a unique UId for entities which need it (PollAccount, Poll).
This UId represent the entity in UI module.
- Returns:
- String
getCurrentTime
Date getCurrentTime()
- Returns:
- the current date
Copyright © 2009-2012 CodeLutin. All Rights Reserved.