[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Methods for testing only

timfox do-not-reply at jboss.com
Thu Dec 11 04:04:48 EST 2008


If methods have been marked for testing only:


  | /For testing only
  |    Map<SimpleString, List<Binding>> getMappings();
  | 

DO NOT use them in core code!!

e.g.:

PostOfficeImpl:load:


  |  for (SimpleString destination : addressManager.getMappings().keySet())
  |      {
  |          pagingManager.createPageStore(destination);
  |       }
  | 

And in any case, I thought we discussed and agreed that we would create page stores lazily?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195832#4195832

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195832



More information about the jboss-dev-forums mailing list