public abstract class AbstractServicesProvider extends Object implements ServicesProvider
Constructor and Description |
---|
AbstractServicesProvider() |
Modifier and Type | Method and Description |
---|---|
<T extends ActionProvider> |
getAction(Class<T> actionType)
This method retrieves the action provider for the supplied
type.
|
List<QName> |
getApplicationNames()
This method returns the list of application names.
|
ReferenceBean |
getReference(String uuid)
This method returns the reference details for the supplied unique id.
|
protected void |
registerAction(Class<? extends ActionProvider> type,
ActionProvider action)
This method registers an action.
|
protected ActionProvider |
unregisterAction(Class<? extends ActionProvider> type)
This method unregisters an action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findServices, getName, getService, isServiceKnown
protected void registerAction(Class<? extends ActionProvider> type, ActionProvider action)
type
- The action typeaction
- The actionprotected ActionProvider unregisterAction(Class<? extends ActionProvider> type)
type
- The action typepublic List<QName> getApplicationNames() throws UiException
getApplicationNames
in interface ServicesProvider
UiException
- Failed to get list of application namespublic ReferenceBean getReference(String uuid) throws UiException
getReference
in interface ServicesProvider
uuid
- The unique id for the referenceUiException
- Failed to get referencepublic <T extends ActionProvider> T getAction(Class<T> actionType)
getAction
in interface ServicesProvider
actionType
- The action typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.