public class ResourceCallback extends java.lang.Object implements JpsCallback
| Constructor and Description | 
|---|
| ResourceCallback()Construct empty reosurce callback object | 
| ResourceCallback(java.lang.String resourceURL)Construct reosurce callback object with given OAM resource The default resource type will be http and default resource operation will be GET | 
| ResourceCallback(java.lang.String resourceURL, java.lang.String resourceType, java.lang.String resourceOperation)Construct reosurce callback object with given OAM resource | 
| Modifier and Type | Method and Description | 
|---|---|
| JpsCallbackType | getCallbackType()Returns the type of this callback defined by  JpsCallbackType | 
| java.lang.String | getResourceOperation()Returns the current OAM resource operation like GET, POST etc | 
| java.lang.String | getResourceType()Returns the current OAM resource type like http, ejb etc | 
| java.lang.String | getResourceURL()Returns the current OAM resource url | 
| void | setResourceOperation(java.lang.String resourceOperation)Sets the OAM resource operation like GET, POST etc | 
| void | setResourceType(java.lang.String resourceType)Sets the OAM resource type like http, ejb etc | 
| void | setResourceURL(java.lang.String resourceURL)Sets the OAM resource url | 
public ResourceCallback()
public ResourceCallback(java.lang.String resourceURL)
resourceURL - - the OAM resource urlpublic ResourceCallback(java.lang.String resourceURL,
                        java.lang.String resourceType,
                        java.lang.String resourceOperation)
resourceURL - - the OAM resource urlresourceType - - the OAM resource type. For example - http, ejb, <custom resource>resourceOperation - - the OAM resource operation. For example for http resource type the possible operations are GET, POST, PUT, HEAD, DELETE, TRACE, OPTIONS, CONNECT, OTHERpublic void setResourceURL(java.lang.String resourceURL)
resourceURL - - the OAM resource urlpublic java.lang.String getResourceURL()
public void setResourceType(java.lang.String resourceType)
resourceType - - the OAM resource typepublic java.lang.String getResourceType()
public void setResourceOperation(java.lang.String resourceOperation)
resourceOperation - - the OAM resource operationpublic java.lang.String getResourceOperation()
public JpsCallbackType getCallbackType()
JpsCallbackTypegetCallbackType in interface JpsCallbackJpsCallbackType