tecgraf.openbus.interop.util
Class Utils

java.lang.Object
  extended by tecgraf.openbus.interop.util.Utils

public class Utils
extends Object

Classe utilitária para os demos Java.

Author:
Tecgraf

Nested Class Summary
static class Utils.ORBRunThread
           
static class Utils.ShutdownThread
           
 
Constructor Summary
Utils()
           
 
Method Summary
static String chain2str(tecgraf.openbus.core.v2_0.services.access_control.LoginInfo[] callers, tecgraf.openbus.core.v2_0.services.access_control.LoginInfo caller)
           
static String findProperty(tecgraf.openbus.core.v2_0.services.offer_registry.ServiceProperty[] props, String key)
           
static Codec getCodec(ORB orb)
           
static Properties readPropertyFile(String fileName)
          Lê um arquivo de propriedades.
static void setLogLevel(Level level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

readPropertyFile

public static Properties readPropertyFile(String fileName)
                                   throws IOException
Lê um arquivo de propriedades.

Parameters:
fileName - o nome do arquivo.
Returns:
as propriedades.
Throws:
IOException

findProperty

public static String findProperty(tecgraf.openbus.core.v2_0.services.offer_registry.ServiceProperty[] props,
                                  String key)

chain2str

public static String chain2str(tecgraf.openbus.core.v2_0.services.access_control.LoginInfo[] callers,
                               tecgraf.openbus.core.v2_0.services.access_control.LoginInfo caller)

getCodec

public static Codec getCodec(ORB orb)
                      throws UnknownEncoding,
                             InvalidName
Throws:
UnknownEncoding
InvalidName

setLogLevel

public static void setLogLevel(Level level)


Copyright © 2014. All rights reserved.