@Component @Named(value="security") @Singleton public class SecurityScriptService extends Object implements org.xwiki.script.service.ScriptService
Modifier and Type | Field and Description |
---|---|
static String |
ROLEHINT
The role hint of this component.
|
Constructor and Description |
---|
SecurityScriptService() |
Modifier and Type | Method and Description |
---|---|
<S extends org.xwiki.script.service.ScriptService> |
get(String serviceName) |
public static final String ROLEHINT
public <S extends org.xwiki.script.service.ScriptService> S get(String serviceName)
S
- the type of the ScriptService
serviceName
- the name of the sub ScriptService
ScriptService
or null of none could be foundCopyright © 2004–2021 XWiki. All rights reserved.