Task #183 (closed)
Add Server object (similar to Login) to ServiceFactory constructor.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | 3.0-M3 |
Component: | Configuration | Version: | 3.0-M3 |
Keywords: | login,iteration2 | Cc: | cxallan, jburel, bwzloranger |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Currently it's been made easy to login with the Login object (see #148) which hides the named properties required for setting client state (see #91). E.g.:
Login login = new Login(myName,myPassword); ServiceFactory clientFactory = new ServiceFactory(login);
This doesn't help, however, with setting up a connection to another server. This should look like:
Login login = ... // as above Server server = new Server( url, port ); // optionally server.setJndiFactoryClass( factoryClass ); ServiceFactory clientFactory = new ServiceFactory( login,server );
Change History (2)
comment:1 Changed 18 years ago by jmoore
- Cc callan jburel brain added
- Milestone changed from Unscheduled to 3.0-M3
- Resolution set to fixed
- Status changed from new to closed
- Version changed from 3.0-M2 to 3.0-M3
comment:2 Changed 18 years ago by jmoore
- Keywords iteration2 added
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
r831 adds something similar to the Server object mentioned in this ticket. It has been only limitedly tested because of my lack of boxes. ServiceFactory now takes Login and/or Server to (almost) fully specify the connection. In the future we'll want to add JNDI information for different app servers, but since we're sticking with JBoss for the moment, it's fine. Closing. Open new tickets for individual requests.