dermi.util
Class Bus

java.lang.Object
  extended by dermi.util.Bus

public class Bus
extends java.lang.Object

This class encapsulates the bus used by the Session object

Version:
1.2
Author:
Pedro Garcia , Carles Pairot

Field Summary
static Session bus
           
static int count
           
 
Constructor Summary
Bus()
           
 
Method Summary
static void close()
          Closes the session with the current event bus
static Session getBus(java.util.Properties env)
          Creates a session and obtains a reference to the event bus
static java.lang.String getClassName(java.lang.String className)
          This method returns the fully qualified class name for a class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bus

public static Session bus

count

public static int count
Constructor Detail

Bus

public Bus()
Method Detail

getBus

public static Session getBus(java.util.Properties env)
                      throws RemoteException
Creates a session and obtains a reference to the event bus

Parameters:
env - Properties Environment properties
Returns:
Session Recently created session
Throws:
RemoteException - If something goes wrong ;-)

close

public static void close()
Closes the session with the current event bus


getClassName

public static java.lang.String getClassName(java.lang.String className)
This method returns the fully qualified class name for a class

Parameters:
className - String the class
Returns:
String the fully qualified name of the class