Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #183 (closed)

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

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

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.

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65295 sec.)

We're Hiring!