public class RegistryFactory
extends GCUBEPortType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NOTIFICATOR_RESOURCE_KEY
the key used to label the Factory Resource
|
Constructor and Description |
---|
RegistryFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createResource(CreateResourceMessage mess)
Creates a new
ProfileResource and registers the GCUBEResource in the IS-IC |
RemoveResourceResponse |
removeResource(RemoveResourceMessage mess)
Removes a Resource profile identified by the given the resource ID
|
UpdateResourceResponse |
updateResource(UpdateResourceMessage mess)
Updates a
GCUBEResource |
public static final java.lang.String NOTIFICATOR_RESOURCE_KEY
public java.lang.String createResource(CreateResourceMessage mess) throws SchemaValidationFault, java.rmi.RemoteException, ProfileAlreadyRegisteredFault, ResourceNotAcceptedFault
ProfileResource
and registers the GCUBEResource
in the IS-ICinputMessage
- defined in the WSDLSchemaValidationException
- if the string serialization of the resource is not validResourceNotAcceptedFault
- it the resource is rejected when evaluating the resources' filtersjava.rmi.RemoteException
ProfileAlreadyRegisteredFault
SchemaValidationFault
public UpdateResourceResponse updateResource(UpdateResourceMessage mess) throws java.rmi.RemoteException, SchemaValidationFault, ResourceNotAcceptedFault, GCUBEFault
GCUBEResource
mess
- Complex Object that contains a String representing the XML profile to update and the diligentIDjava.rmi.RemoteException
- ExceptionSchemaValidationException
- if the string serialization of the resource is not validResourceNotAcceptedFault
- it the resource is rejected when evaluating the resources' filtersSchemaValidationFault
GCUBEFault
public RemoveResourceResponse removeResource(RemoveResourceMessage mess) throws java.rmi.RemoteException, GCUBEFault
inputMessage
- defined into WSDL filejava.rmi.RemoteException
GCUBEFault