|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cog.abstraction.impl.common.task.ServiceImpl
| Field Summary |
| Fields inherited from interface org.globus.cog.abstraction.interfaces.Service |
DEFAULT_SERVICE, FILE_OPERATION, FILE_TRANSFER, FILE_TRANSFER_DESTINATION_SERVICE, FILE_TRANSFER_SOURCE_SERVICE, INFORMATION_QUERY, JOB_SUBMISSION, JOB_SUBMISSION_SERVICE |
| Constructor Summary | |
ServiceImpl()
|
|
ServiceImpl(int type)
|
|
ServiceImpl(String provider,
int type,
ServiceContact serviceContact,
SecurityContext securityContext)
|
|
ServiceImpl(String provider,
ServiceContact serviceContact,
SecurityContext securityContext)
|
|
| Method Summary | |
int |
getActiveCount()
|
Enumeration |
getAllAttributes()
|
Object |
getAttribute(String name)
|
int |
getCompletedCount()
|
int |
getFailedCount()
|
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 |
setActiveCount(int count)
|
void |
setAttribute(String name,
Object value)
|
void |
setCompletedCount(int count)
|
void |
setFailedCount(int count)
|
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ServiceImpl()
public ServiceImpl(int type)
public ServiceImpl(String provider,
ServiceContact serviceContact,
SecurityContext securityContext)
public ServiceImpl(String provider,
int type,
ServiceContact serviceContact,
SecurityContext securityContext)
| Method Detail |
public void setIdentity(Identity identity)
ServiceIdentity for this Service.
setIdentity in interface Serviceidentity - the unique Identity.public Identity getIdentity()
ServiceIdentity assigned to this
Service.
getIdentity in interface Servicepublic void setName(String name)
ServiceService. Defines a user-friendly
name which need not be unique.
setName in interface Servicename - a string specifying the name of this Service.public String getName()
ServiceService.
getName in interface Servicepublic void setProvider(String provider)
ServiceTaskHandlerwill translate all the abstract elements of the
Taskbound to this service into provider-specific constructs
setProvider in interface Serviceprovider - a String representing the provider for this
Service.public String getProvider()
ServiceService.
getProvider in interface Servicepublic void setType(int type)
ServiceService. Valid types are
Service.JOB_SUBMISSION,Service.FILE_TRANSFER, and
Service.FILE_OPERATION
setType in interface Servicetype - an integer representing the type of the remote servicepublic int getType()
Service
getType in interface Servicepublic void setServiceContact(ServiceContact serviceContact)
ServiceServiceContactassociated with this Service.
setServiceContact in interface Servicepublic ServiceContact getServiceContact()
ServiceServiceContactassociated with this
Service.
getServiceContact in interface Servicepublic void setSecurityContext(SecurityContext securityContext)
ServiceSecurityContextassociated with this
Service.
setSecurityContext in interface Servicepublic SecurityContext getSecurityContext()
ServiceSecurityContextassociated with this
Service.
getSecurityContext in interface Servicepublic void setCompletedCount(int count)
public int getCompletedCount()
public void setActiveCount(int count)
public int getActiveCount()
public void setFailedCount(int count)
public int getFailedCount()
public void setAttribute(String name,
Object value)
setAttribute in interface Servicepublic Object getAttribute(String name)
getAttribute in interface Servicepublic Enumeration getAllAttributes()
getAllAttributes in interface Servicepublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||