public abstract class AbstractCurrentUserProviderServiceableGenerator extends ServiceableGenerator
ServiceableGenerator
which provides the current user if necessary.Modifier and Type | Field and Description |
---|---|
protected CurrentUserProvider |
_currentUserProvider
The current user provider.
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
AbstractCurrentUserProviderServiceableGenerator() |
Modifier and Type | Method and Description |
---|---|
protected UserIdentity |
_getCurrentUser()
Provides the the current user.
|
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected CurrentUserProvider _currentUserProvider
public AbstractCurrentUserProviderServiceableGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
protected UserIdentity _getCurrentUser()
null
.