Interface ServiceDefTarget

public interface ServiceDefTarget
A client-side RPC proxy can always be safely cast to this interface to allow you to or set the target URL for that service.

Nested Classes

ServiceDefTarget.NoServiceEntryPointSpecifiedExceptionThis exception is thrown when a service is invoked without ServiceDefTarget.setServiceEntryPoint(String) having been called.

Methods

getServiceEntryPoint()Gets the URL of a service implementation.
setServiceEntryPoint(String)Sets the URL of a service implementation.

Method Detail

getServiceEntryPoint

public String getServiceEntryPoint()
Gets the URL of a service implementation.

Return Value

the last value passed to setServiceEntryPoint(String)

setServiceEntryPoint

public void setServiceEntryPoint(String s)
Sets the URL of a service implementation.

Parameters

s