public class Client
extends Object
Defines an application that makes calls to a remote Hello server.
The application uses the following arguments:
[all] - All arguments are used as options when getting the configuration
The application uses the following configuration entries, with component
com.sun.jini.example.hello.Client:
loginContext
type: LoginContext
default: null
If non-null, specifies the JAAS login context to use for performing a JAAS
login and supplying the Subject to use when running the client. If null,
no JAAS login is performed.
preparer
type: ProxyPreparer
default: new BasicProxyPreparer()
Proxy preparer for the server proxy
serviceDiscovery
type: ServiceDiscoveryManager
default: new ServiceDiscoveryManager(
new LookupDiscovery(new String[] { "" }, config),
null, config)
Object used for discovering a server that implement Hello.
- Author:
- Sun Microsystems, Inc.