Improve HostGroupService.newHost( .. ) method ---------------------------------------------
Key: RADMAN-25 URL: http://issues.ops4j.org/jira/browse/RADMAN-25 Project: Pax RadMan Issue Type: Improvement Components: SERVER_JMX Reporter: Gavin Bong Assignee: Edward Yakop 1 interface HostGroupService 2 { 3 HostGroup newHostGroup( String hostGroupName ); 4 Host newHost( String name ); 5 } I would to propose that we change the method signature in line 4 to; Host newHost( String name, long hostGroupId ); The rationale is that a Host MUST always belong to a particular HostGroup. We don't want to support orphans. I'm also working on the assumption that there be a DEFAULT HostGroup. If this is acceptable to you, then my suggested method is just an overloaded version of the method in line 4 ( which translates to mean, create a Host that belongs to the DEFAULT HostGroup ). Your thoughts ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general