|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.app.viewer.OwSimpleInfoProviderRegistry
public class OwSimpleInfoProviderRegistry
Simple OwInfoProviderRegistry implementation. A simple implementation to request the network DMS prefix and register the provider into a map.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary |
---|
Fields inherited from interface com.wewebu.ow.server.ui.viewer.OwInfoProviderRegistry |
---|
PREFIX_ANNOT |
Constructor Summary | |
---|---|
OwSimpleInfoProviderRegistry(OwRoleManagerContext roleCtxt_p)
|
Method Summary | |
---|---|
OwInfoProvider |
getInfoProvider(String context_p)
Method to retrieve a provider regarding the given context. |
protected void |
init()
|
void |
registerProvider(String context_p,
OwInfoProvider pro_p)
Method called to register a provider for specific context. |
OwInfoProvider |
unregisterProvider(String context_p)
Remove a provider from registry for given context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwSimpleInfoProviderRegistry(OwRoleManagerContext roleCtxt_p)
Method Detail |
---|
protected void init()
public OwInfoProvider getInfoProvider(String context_p)
OwInfoProviderRegistry
Attention this can return null if the context is null or no provider exist for this context
getInfoProvider
in interface OwInfoProviderRegistry
context_p
- String context to be handled
public void registerProvider(String context_p, OwInfoProvider pro_p)
OwInfoProviderRegistry
registerProvider
in interface OwInfoProviderRegistry
context_p
- String representing the contextpro_p
- OwInfoProvider to registerpublic OwInfoProvider unregisterProvider(String context_p)
OwInfoProviderRegistry
unregisterProvider
in interface OwInfoProviderRegistry
context_p
- String to unregister
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |