View Javadoc
1   package org.activestack.framework.messaging;
2   
3   /**
4    * Factory class used to instantiate concrete implementation of interface, or maybe use your IoC / injection tool of choice...
5    */
6   public final class ASMessagingFactory {
7   
8       /**
9        * Private constructor to prevent instantiation of factory.
10       */
11      private ASMessagingFactory() {
12      }
13  
14      public static ASMessaging create(final String implClassname) {
15          // @todo fix me (see ASCacheFactory)
16          return new ASMessaging() {
17              public void sendMessage(Object message) {
18  
19              }
20          };
21      }
22  }