|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface abstracts the remote Grid Service required for the execution of the Task. It contains the provider specific details such as the service contact and security context.
| Field Summary | |
static int |
DEFAULT_SERVICE
Represents the index for the default service among an ordered list of services. |
static int |
FILE_OPERATION
Represents a file operation service |
static int |
FILE_TRANSFER
Represents a file transfer service |
static int |
FILE_TRANSFER_DESTINATION_SERVICE
Represents the index for the destination service in a file transfer task. |
static int |
FILE_TRANSFER_SOURCE_SERVICE
Represents the index for the source service in a file transfer task. |
static int |
INFORMATION_QUERY
Represents a information query service. |
static int |
JOB_SUBMISSION
Represents a job submission service |
static int |
JOB_SUBMISSION_SERVICE
Represents the index for the job submission service among an ordered list of services. |
| Method Summary | |
Enumeration |
getAllAttributes()
|
Object |
getAttribute(String name)
|
Identity |
getIdentity()
Returns the unique Identity assigned to this
Service. |
String |
getName()
Returns the user-friendly name assigned to this Service. |
String |
getProvider()
Returns the provider associated with this Service. |
SecurityContext |
getSecurityContext()
Returns the SecurityContextassociated with this
Service. |
ServiceContact |
getServiceContact()
Returns the ServiceContactassociated with this
Service. |
int |
getType()
Returns the type of the remote service |
void |
setAttribute(String name,
Object value)
|
void |
setIdentity(Identity identity)
Sets a unique Identity for this Service. |
void |
setName(String name)
Sets the name of this Service. |
void |
setProvider(String provider)
Sets the provider for this service. |
void |
setSecurityContext(SecurityContext securityContext)
Sets the SecurityContextassociated with this
Service. |
void |
setServiceContact(ServiceContact serviceContact)
Sets the ServiceContactassociated with this Service. |
void |
setType(int type)
Sets the type of this Service. |
| Field Detail |
public static final int JOB_SUBMISSION
public static final int FILE_TRANSFER
public static final int INFORMATION_QUERY
public static final int FILE_OPERATION
public static final int JOB_SUBMISSION_SERVICE
public static final int DEFAULT_SERVICE
public static final int FILE_TRANSFER_SOURCE_SERVICE
public static final int FILE_TRANSFER_DESTINATION_SERVICE
| Method Detail |
public void setIdentity(Identity identity)
Identity for this Service.
identity - the unique Identity.public Identity getIdentity()
Identity assigned to this
Service.
public void setName(String name)
Service. Defines a user-friendly
name which need not be unique.
name - a string specifying the name of this Service.public String getName()
Service.
public void setProvider(String provider)
TaskHandlerwill translate all the abstract elements of the
Taskbound to this service into provider-specific constructs
provider - a String representing the provider for this
Service.public String getProvider()
Service.
public void setType(int type)
Service. Valid types are
JOB_SUBMISSION,FILE_TRANSFER, and
FILE_OPERATION
type - an integer representing the type of the remote servicepublic int getType()
public void setServiceContact(ServiceContact serviceContact)
ServiceContactassociated with this Service.
public ServiceContact getServiceContact()
ServiceContactassociated with this
Service.
public void setSecurityContext(SecurityContext securityContext)
SecurityContextassociated with this
Service.
public SecurityContext getSecurityContext()
SecurityContextassociated with this
Service.
public void setAttribute(String name,
Object value)
public Object getAttribute(String name)
public Enumeration getAllAttributes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||