public class PutActionsNotify extends Object
Constructor and Description |
---|
PutActionsNotify() |
Modifier and Type | Method and Description |
---|---|
protected static org.eclipse.persistence.dynamic.DynamicEntity |
getDynamicEntityForRequest(org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext,
AAIResource aaiRes,
String objectFromRequest,
AAIExtensionMap aaiExtMap)
Gets the dynamic entity for request.
|
static <T> T |
getInstance(Class<T> clazz)
Gets the single instance of PutActionsNotify.
|
static <T> String |
GetResourceVersion(T resource)
Gets the resource version.
|
static <T> void |
main(String[] args)
The main method.
|
static <T> T |
readJsonFile(Class<T> clazz,
String fName)
Read json file.
|
public static <T> void main(String[] args)
T
- the generic typeargs
- the argumentspublic static <T> T getInstance(Class<T> clazz) throws IllegalAccessException, InstantiationException
T
- the generic typeclazz
- the clazzIllegalAccessException
- the illegal access exceptionInstantiationException
- the instantiation exceptionpublic static <T> T readJsonFile(Class<T> clazz, String fName) throws AAIException
T
- the generic typeclazz
- the clazzfName
- the f nameAAIException
- the AAI exceptionpublic static <T> String GetResourceVersion(T resource)
T
- the generic typeresource
- the resourceprotected static org.eclipse.persistence.dynamic.DynamicEntity getDynamicEntityForRequest(org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext jaxbContext, AAIResource aaiRes, String objectFromRequest, AAIExtensionMap aaiExtMap) throws JAXBException
jaxbContext
- the jaxb contextaaiRes
- the aai resobjectFromRequest
- the object from requestaaiExtMap
- the aai ext mapJAXBException
- the JAXB exceptionCopyright © 2017. All Rights Reserved.