org.globus.cog.abstraction.impl.execution.gt3_0_2
Class GramJob

java.lang.Object
  extended byorg.globus.ogsa.impl.core.service.ServicePropertiesImpl
      extended byorg.globus.ogsa.impl.base.gram.client.GramJob
          extended byorg.globus.cog.abstraction.impl.execution.gt3_0_2.GramJob
All Implemented Interfaces:
org.gridforum.ogsi.NotificationSink, org.globus.ogsa.NotificationSinkCallback, Remote, org.globus.ogsa.ServiceProperties

public class GramJob
extends org.globus.ogsa.impl.base.gram.client.GramJob

This is a class that provides a work-around for schemas always having to be in the current directory problem. If you set the xsi:schemaLocation in the RSL to something else than ./schema, that will also be sent to the service, which will most certainly HAVE the schema in ./schema. The solution is to let the local Gram client parse the RSL using another location for schemas, then transparently change the xsi:schemaLocation attribute before the RSL is sent to the service.


Field Summary
 
Fields inherited from class org.globus.ogsa.impl.base.gram.client.GramJob
DEFAULT_TERMINATION_TIME, DEFAULT_TIMEOUT, error, grimPolicyHandler, notificationSinkID, notificationSinkManager, proxy, serviceLocator, status
 
Fields inherited from interface org.globus.ogsa.ServiceProperties
ACTIVATE_ON_STARTUP, ACTIVATION, BASE_CLASS_NAME, BOOTSTRAP, CONFIG_PATH, CONTAINS_REFERENCE, CREATION_EXTENSIBILITY, CREATION_EXTENSIBILITY_OUTPUT, CUSTOM_EXTENSIBILITY_DESERIALIZER, CUSTOM_EXTENSIBILITY_SERIALIZER, CUSTOM_MAPPING_REGISTERED, DEACTIVATED_PERSISTENT, DEACTIVATED_STATE, DEACTIVATED_TRANSIENT, DEACTIVATION, DESTROY_LISTENER, DESTRUCTION_SKELETON, DISABLE_FACTORY_REGISTRY, ENDPOINT, ENTRY_INSTANCE_CREATION, FACTORY, FACTORY_CALLBACK, FACTORY_HANDLE, FACTORY_PROVIDER, FACTORY_REGISTRY, GSR_DESCRIPTION, HANDLE, HANDLE_PORT, HANDLE_PROTOCOL, INSTANCE_CLASS, INSTANCE_DEACTIVATION, INSTANCE_GSR_DESCRIPTION, INSTANCE_LIFECYCLE, INSTANCE_PORT_TYPE, INSTANCE_PORT_TYPE_NS, INSTANCE_PREFIX, INSTANCE_REGISTRY, INSTANCE_SCHEMA_PATH, INSTANCE_WSDL, INTERFACE_CLASS_NAME, INVOCATION_ID, LAZY_CREATION, LIFECYCLE, LIFECYCLE_MONITOR, LIFECYCLE_MONITOR_CLASS, NAME, NOTIFICATION_ENGINE, NOTIFICATION_FACTORY, NOTIFICATION_SOURCE, OPERATION_PROVIDERS, PERSISTENT, PERSISTENT_PROPERTIES, PORT, PORT_TYPE, PORT_TYPE_NS, PRIMARY_KEY, PROTOCOL, QUERY_ENGINE, REDIRECT_RESOLVER, REGISTRY, RESOLVER_CACHE, ROUTER_HEADER, ROUTER_VIA, SCHEMA_LOCATION, SCHEMA_PATH, SERVICE_ACTIVATOR, SERVICE_DATA, SERVICE_DEPLOYMENT, SERVICE_GROUP_ENTRY, SERVICE_GROUP_PROVIDER, SERVICE_LOADER, SERVICE_NODE, SINK_ID, STARTUP_STATE, SWEEP_SERVICE_DATA, TIMEOUT, TIMESTAMP, TRANSIENT, TYPE, USER, WEBSTART_PANEL_NAME, WEBSTART_URL, WSDL
 
Constructor Summary
GramJob(GSSCredential proxy, String rsl)
           
GramJob(String rsl)
           
 
Method Summary
 org.globus.ogsa.impl.base.gram.utils.rsl.GramJobAttributes getRSLAttributes()
           
 
Methods inherited from class org.globus.ogsa.impl.base.gram.client.GramJob
addListener, addStderrPath, addStdoutPath, bind, cancel, deliverNotification, destroy, getAuthorization, getCredentials, getError, getFault, getGrimChecks, getHandle, getID, getIDAsString, getMessageProtectionType, getRSL, getStartedJobs, getStatus, getStatusAsString, getStatusAsString, getStatusStringAsInt, isDestroyed, isPersonal, isRequested, refreshRSLAttributes, refreshStatus, removeListener, request, request, request, request, request, request, setAuthorization, setCredentials, setDryRun, setError, setGrimChecks, setHandle, setID, setMessageProtectionType, setPersonal, setServiceDuration, setServiceTerminationTime, setStatus, setSubstitutionDefinition, setTimeOut, signal, signal, start, start, toString, unbind
 
Methods inherited from class org.globus.ogsa.impl.core.service.ServicePropertiesImpl
flush, getPersistentProperty, getProperty, keySet, setPersistentProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.globus.ogsa.ServiceProperties
flush, getPersistentProperty, getProperty, setPersistentProperty, setProperty
 

Constructor Detail

GramJob

public GramJob(String rsl)

GramJob

public GramJob(GSSCredential proxy,
               String rsl)
Method Detail

getRSLAttributes

public org.globus.ogsa.impl.base.gram.utils.rsl.GramJobAttributes getRSLAttributes()
                                                                            throws GramException
Throws:
GramException