|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.iam.grid.client.staterepos.RemoteServiceImpl
StateRepository.getOrCreateObject(java.lang.Class, org.apache.axis.message.addressing.EndpointReferenceType) instead.
@Deprecated public abstract class RemoteServiceImpl
A proxy to a remote service.
| Field Summary | |
|---|---|
protected static Transport |
transport
Deprecated. Used to send SOAP messages. |
| Constructor Summary | |
|---|---|
RemoteServiceImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
Deprecated. |
int |
compareTo(StorableInStateRepository other)
Deprecated. |
protected SOAPHeaderElement |
createBillingHeader(org.apache.axis.message.addressing.EndpointReferenceType info)
Deprecated. Create a SOAP header to hold billing information. |
protected SOAPHeaderElement[] |
createBillingHeaders(org.apache.axis.message.addressing.EndpointReferenceType info)
Deprecated. Create the SOAP headers to hold the billing information, if any. |
MatchPattern |
createMatchPattern()
Deprecated. Create a MatchPattern that matches this service. |
MatchRule |
createMatchRule(String role)
Deprecated. Create a match rule that will grant this service the given role. |
abstract RemoteBoundMethod |
createMethod(String operationName)
Deprecated. |
String |
getDescription()
Deprecated. Returns a textual description of the object. |
URL |
getEndpoint()
Deprecated. Get the endpoint address of the service. |
org.apache.axis.message.addressing.EndpointReferenceType |
getEndpointRef()
Deprecated. Return an EndpointReferenceType for this conversation. |
RemoteBoundMethod |
getMethod(String operation)
Deprecated. Get a method bound to an operation on this service. |
URL |
getParentURL()
Deprecated. Returns the URL of this object's parent. |
StateRepository |
getRepository()
Deprecated. Get the StateRepository holding this object. |
org.apache.axis.message.addressing.EndpointReferenceType[] |
getResources()
Deprecated. Query the service to find resources to which we have some access. |
protected abstract String |
getServiceName()
Deprecated. Returns the name of the service. |
SubjectDescription |
getServiceProviderID()
Deprecated. Query the remote service to discover its identity. |
SubjectDescription |
getServiceProviderIssuer()
Deprecated. Query the remote service to discover the identity of the issuer of its certificate. |
org.apache.axis.message.addressing.EndpointReferenceType[] |
getTrustedAccountServices()
Deprecated. Get the list of account services trusted by this service. |
URL |
getURL()
Deprecated. Get a unique string that identifies this object. |
Object |
invoke(String operationName,
Object... args)
Deprecated. Invoke a SOAP operation. |
Object |
invokeWithHeaders(String operationName,
SOAPHeaderElement[] headers,
Object... args)
Deprecated. Invoke a SOAP operation. |
static Class<? extends RemoteService> |
lookupService(QName portType)
Deprecated. see ResourceTypeRegistry |
static void |
registerPortType(QName portType,
Class<? extends RemoteService> remoteService)
Deprecated. |
void |
removeTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
Deprecated. |
void |
setDescription(String description)
Deprecated. Change the textual description, as returned by getDescription. |
void |
setRepository(StateRepository repository)
Deprecated. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.RemoteService |
|---|
getBillingInfo, setBillingInfo |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository |
|---|
getInterface |
| Field Detail |
|---|
protected static final Transport transport
| Constructor Detail |
|---|
public RemoteServiceImpl(StateRepository repository,
org.apache.axis.message.addressing.EndpointReferenceType EPR)
throws ObjectAlreadyExists
ObjectAlreadyExists| Method Detail |
|---|
protected abstract String getServiceName()
public void setRepository(StateRepository repository)
public StateRepository getRepository()
StorableInStateRepository
getRepository in interface StorableInStateRepositorypublic org.apache.axis.message.addressing.EndpointReferenceType getEndpointRef()
StorableInStateRepository
getEndpointRef in interface StorableInStateRepositorypublic URL getParentURL()
StorableInStateRepository
getParentURL in interface StorableInStateRepositorypublic String getDescription()
StorableInStateRepository
getDescription in interface StorableInStateRepositorypublic void setDescription(String description)
StorableInStateRepository
setDescription in interface StorableInStateRepositorypublic abstract RemoteBoundMethod createMethod(String operationName)
public RemoteBoundMethod getMethod(String operation)
invoke(java.lang.String, java.lang.Object...) instead of using this method directly.
getMethod in interface RemoteServiceoperation - the name of the SOAP operation
public Object invoke(String operationName,
Object... args)
throws RemoteException
operationName - the name of the operationargs - arguments for the operation
RemoteException
public Object invokeWithHeaders(String operationName,
SOAPHeaderElement[] headers,
Object... args)
throws RemoteException
operationName - the name of the operationargs - arguments for the operation
RemoteException
public SubjectDescription getServiceProviderID()
throws RemoteException
getServiceProviderID in interface GridServiceRemoteException
public SubjectDescription getServiceProviderIssuer()
throws RemoteException
getServiceProviderIssuer in interface GridServiceRemoteException
public org.apache.axis.message.addressing.EndpointReferenceType[] getResources()
throws RemoteException
getResources in interface GridServiceRemoteExceptionpublic URL getURL()
getURL in interface StorableInStateRepositorypublic URL getEndpoint()
getEndpoint in interface RemoteService
public MatchRule createMatchRule(String role)
throws RemoteException
createMatchRule in interface RemoteServicerole - the role to be granted
RemoteException
public MatchPattern createMatchPattern()
throws RemoteException
RemoteService
createMatchPattern in interface RemoteServiceRemoteExceptionpublic int compareTo(StorableInStateRepository other)
compareTo in interface Comparable<StorableInStateRepository>public String toString()
toString in class Object
public org.apache.axis.message.addressing.EndpointReferenceType[] getTrustedAccountServices()
throws RemoteException
Note: this API is likely to change for GRIA 5 to be more general.
RemoteException
public void addTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
throws RemoteException
RemoteException
public void removeTrustedAccountService(org.apache.axis.message.addressing.EndpointReferenceType service)
throws RemoteException
RemoteException
public static void registerPortType(QName portType,
Class<? extends RemoteService> remoteService)
public static Class<? extends RemoteService> lookupService(QName portType)
ResourceTypeRegistry
portType - the port type in the WSDL
protected SOAPHeaderElement[] createBillingHeaders(org.apache.axis.message.addressing.EndpointReferenceType info)
info - EPR of a management resource (trade account or SLA), or null if none is required
createBillingHeader(org.apache.axis.message.addressing.EndpointReferenceType)protected SOAPHeaderElement createBillingHeader(org.apache.axis.message.addressing.EndpointReferenceType info)
info - EPR of a management resource (trade account or SLA), including any required security tokens
invokeWithHeaders(java.lang.String, org.apache.axis.message.SOAPHeaderElement[], java.lang.Object...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||