keycloak-federation
公開メンバ関数 | 静的公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
cx.ath.matthew.LibraryLoader クラス
cx.ath.matthew.LibraryLoader 連携図
Collaboration graph

公開メンバ関数

boolean succeed ()
 

静的公開メンバ関数

static LibraryLoader load ()
 

静的非公開変数類

static final String [] PATHS
 
static final String LIBRARY_NAME = "libunix_dbus_java"
 
static final String VERSION = "0.0.8"
 
static boolean loadSucceeded
 

詳解

著者
Bruno Oliveira.

関数詳解

◆ load()

static LibraryLoader cx.ath.matthew.LibraryLoader.load ( )
inlinestatic
36  {
37  for (String path : PATHS) {
38  try {
39  System.load(String.format("%s/%s.so.%s", path, LIBRARY_NAME, VERSION));
40  loadSucceeded = true;
41  break;
42  } catch (UnsatisfiedLinkError e) {
43  loadSucceeded = false;
44  }
45  }
46 
47  return new LibraryLoader();
48  }
static final String VERSION
Definition: LibraryLoader.java:33
static final String [] PATHS
Definition: LibraryLoader.java:24
static boolean loadSucceeded
Definition: LibraryLoader.java:34
static final String LIBRARY_NAME
Definition: LibraryLoader.java:32

◆ succeed()

boolean cx.ath.matthew.LibraryLoader.succeed ( )
inline
50  {
51  return loadSucceeded;
52  }
static boolean loadSucceeded
Definition: LibraryLoader.java:34

メンバ詳解

◆ LIBRARY_NAME

final String cx.ath.matthew.LibraryLoader.LIBRARY_NAME = "libunix_dbus_java"
staticprivate

◆ loadSucceeded

boolean cx.ath.matthew.LibraryLoader.loadSucceeded
staticprivate

◆ PATHS

final String [] cx.ath.matthew.LibraryLoader.PATHS
staticprivate
初期値:
= {
"/opt/rh/rh-sso7/root/lib/",
"/opt/rh/rh-sso7/root/lib64/",
"/usr/lib/",
"/usr/lib64/",
"/usr/local/lib/",
"/opt/local/lib/"
}

◆ VERSION

final String cx.ath.matthew.LibraryLoader.VERSION = "0.0.8"
staticprivate

このクラス詳解は次のファイルから抽出されました: