public final class ExtensionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
loadExtension(ExtensionDefinitionContract extensionDefinition)
Loads the extension object for the given extension definition.
|
static <T> T |
loadExtension(ExtensionDefinitionContract extensionDefinition,
String defaultApplicationId)
Loads the extension object for the given extension definition, using the default applicationId if the given
extension definition has a null applicationId.
|
public static <T> T loadExtension(ExtensionDefinitionContract extensionDefinition)
T
- the type of the extension object which is to be loadedextensionDefinition
- the definition of the extension to loadpublic static <T> T loadExtension(ExtensionDefinitionContract extensionDefinition, String defaultApplicationId)
T
- the type of the extension object which is to be loadedextensionDefinition
- the definition of the extension to loaddefaultApplicationId
- the application id to use when attempting to loading the extension if the
application id on the given definition is nullCopyright © 2005–2016 The Kuali Foundation. All rights reserved.