Uses of Class
org.marketcetera.util.ws.stateless.StatelessClientContext
-
Packages that use StatelessClientContext Package Description org.marketcetera.util.ws.stateful Web services infrastructure.org.marketcetera.util.ws.stateless Infrastructure for stateless communication between client and server. -
-
Uses of StatelessClientContext in org.marketcetera.util.ws.stateful
Subclasses of StatelessClientContext in org.marketcetera.util.ws.stateful Modifier and Type Class Description classClientContextThe client context which the client must supply as an argument to every stateful remote call.Fields in org.marketcetera.util.ws.stateful declared as StatelessClientContext Modifier and Type Field Description private StatelessClientContextSessionHolder. mCreationContextMethods in org.marketcetera.util.ws.stateful that return StatelessClientContext Modifier and Type Method Description StatelessClientContextSessionHolder. getCreationContext()Returns the receiver's creation context.Methods in org.marketcetera.util.ws.stateful with parameters of type StatelessClientContext Modifier and Type Method Description TSessionFactory. createSession(StatelessClientContext context, String user, SessionId id)Creates a new session (data object), for a new session initiated with the given creation context and on behalf of the user with the given name, and assigned the given ID.SessionIdAuthService. login(StatelessClientContext context, String user, char[] password)Logs in the client with the given context, provided the given credentials are acceptable.SessionIdAuthServiceImpl. login(StatelessClientContext context, String user, char[] password)private SessionIdAuthServiceImpl. loginImpl(StatelessClientContext context, String user, char[] password)Logs in the client with the given context, provided the given credentials are acceptable.booleanAuthenticator. shouldAllow(StatelessClientContext inContext, String inUsername, char[] inRawPassword)Checks whether the given credentials can be used to initiate a new session on behalf of the client with the given context.booleanFixedAuthenticator. shouldAllow(StatelessClientContext context, String user, char[] password)Constructors in org.marketcetera.util.ws.stateful with parameters of type StatelessClientContext Constructor Description SessionHolder(String user, StatelessClientContext creationContext)Creates a new holder with the given authenticated user name and creation context. -
Uses of StatelessClientContext in org.marketcetera.util.ws.stateless
Methods in org.marketcetera.util.ws.stateless that return StatelessClientContext Modifier and Type Method Description StatelessClientContextStatelessClient. getContext()Returns a client context which the client must supply as an argument to every remote call made via proxies obtained from the receiver.Methods in org.marketcetera.util.ws.stateless with parameters of type StatelessClientContext Modifier and Type Method Description protected voidStatelessRemoteCall. assertFilterMatch(StatelessClientContext context)Asserts that the given client context matches all of the receiver's filters.protected abstract TStatelessRemoteCaller. call(StatelessClientContext context)The service implementation, executed on behalf of the client with the given context.TStatelessRemoteCaller. execute(StatelessClientContext context)Invokes the service implementation on behalf of the client with the given context.voidStatelessRemoteRunner. execute(StatelessClientContext context)Invokes the service implementation on behalf of the client with the given context.protected voidStatelessClient. fillContext(StatelessClientContext context)Sets the properties of the given client context, so that it may be used for remote calls made via proxies obtained from the receiver.protected voidStatelessRemoteCall. handleSuccess(StatelessClientContext context)Called by subclasses after custom processing of a service call on behalf of the client with the given context completes successfully.protected abstract voidStatelessRemoteRunner. run(StatelessClientContext context)The service implementation, executed on behalf of the client with the given context.protected voidStatelessRemoteCall. startCall(StatelessClientContext context)Called by subclasses before starting custom processing of a service call on behalf of the client with the given context.protected RemoteExceptionStatelessRemoteCall. wrapFailure(StatelessClientContext context, Throwable t)Called by subclasses after custom processing of a service call on behalf of the client with the given context completes unsuccessfully.
-