org.objectweb.fractal.bf.connectors.jms
Class JmsBroker

java.lang.Object
  extended by org.objectweb.fractal.bf.connectors.jms.JmsBroker

public final class JmsBroker
extends Object

These classes simulate a very basic and poor JMS broker. TODO: Uses JORAM instead of simulating it.

Author:
Philippe Merle - INRIA

Method Summary
static Object createStub(String uri, Class<?> clazz)
          Called by JmsStubContent to create a typed stub to send messages.
static void registerSkeleton(String uri, Object servant, Class<?> interfaze)
          Called by JmsSkeletonContent to register a servant instance at a given uri.
static void unregisterSkeleton(String uri, Object servant)
          Called by JmsSkeletonContent to unregister a servant instance at a given uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerSkeleton

public static void registerSkeleton(String uri,
                                    Object servant,
                                    Class<?> interfaze)
Called by JmsSkeletonContent to register a servant instance at a given uri.


unregisterSkeleton

public static void unregisterSkeleton(String uri,
                                      Object servant)
Called by JmsSkeletonContent to unregister a servant instance at a given uri.


createStub

public static Object createStub(String uri,
                                Class<?> clazz)
Called by JmsStubContent to create a typed stub to send messages.



Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.