|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.introduce.extension.ExtensionTools
public class ExtensionTools
ExtensionTools Tools to handle extension management
| Constructor Summary | |
|---|---|
ExtensionTools()
|
|
| Method Summary | |
|---|---|
static void |
addExtensionToService(ServiceInformation service,
java.lang.String extensionName)
Adds an extension's functionality to an existing service. |
static CodegenExtensionPostProcessor |
getCodegenPostProcessor(java.lang.String extensionName)
Gets a named codegen post processor |
static CodegenExtensionPreProcessor |
getCodegenPreProcessor(java.lang.String extensionName)
Gets a named codegen extension pre processor |
static CreationExtensionPostProcessor |
getCreationPostProcessor(java.lang.String extensionName)
Gets a named creation post processor |
static ExtensionTypeExtensionData |
getExtensionData(ServiceExtensionDescriptionType desc,
ServiceInformation info)
Gets the extension type extension data for a service extension in a service model |
static org.apache.axis.message.MessageElement |
getExtensionDataElement(ExtensionTypeExtensionData extensionData,
java.lang.String dataElement)
Gets an extension data element with a given local name |
static java.lang.String |
getProperty(Properties properties,
java.lang.String key)
Extracts a property value from an Introduce Properties bean |
static PropertiesProperty |
getPropertyObject(Properties properties,
java.lang.String key)
Extracts a property object from an Introduce Properties bean |
static ServiceExtensionRemover |
getServiceExtensionRemover(java.lang.String extensionName)
Gets a named service extension remover |
static void |
removeExtensionDataElement(ExtensionTypeExtensionData data,
java.lang.String dataElementName)
Removes an extension data element |
static void |
updateExtensionDataElement(ExtensionTypeExtensionData data,
org.apache.axis.message.MessageElement element)
Updates an extension data element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionTools()
| Method Detail |
|---|
public static CreationExtensionPostProcessor getCreationPostProcessor(java.lang.String extensionName)
throws java.lang.Exception
extensionName - The name of the extension
null if none is present
java.lang.Exception
public static CodegenExtensionPostProcessor getCodegenPostProcessor(java.lang.String extensionName)
throws java.lang.Exception
extensionName - The name of the extension
null if none is present
java.lang.Exception
public static CodegenExtensionPreProcessor getCodegenPreProcessor(java.lang.String extensionName)
throws java.lang.Exception
extensionName - The name of the extension
null if none is found
java.lang.Exception
public static ServiceExtensionRemover getServiceExtensionRemover(java.lang.String extensionName)
throws java.lang.Exception
extensionName - The name of the extension
null if none is present
java.lang.Exception
public static java.lang.String getProperty(Properties properties,
java.lang.String key)
properties - The propertieskey - The key name
null
public static PropertiesProperty getPropertyObject(Properties properties,
java.lang.String key)
properties - The propertieskey - The key name
public static ExtensionTypeExtensionData getExtensionData(ServiceExtensionDescriptionType desc,
ServiceInformation info)
desc - The service extension descriptioninfo - The service model
null if no extension is found
public static org.apache.axis.message.MessageElement getExtensionDataElement(ExtensionTypeExtensionData extensionData,
java.lang.String dataElement)
extensionData - The extension datadataElement - The name of the data element to extract
public static void updateExtensionDataElement(ExtensionTypeExtensionData data,
org.apache.axis.message.MessageElement element)
data - The extension dataelement - The updated element
public static void removeExtensionDataElement(ExtensionTypeExtensionData data,
java.lang.String dataElementName)
data - The extension datadataElementName - The name of the data element to be removed
public static void addExtensionToService(ServiceInformation service,
java.lang.String extensionName)
throws CreationExtensionException
service - The service to extendextensionName - The name of the service extension
CreationExtensionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||