application.runtime
クラス SystemContext

java.lang.Object
  拡張application.runtime.SystemContext

public class SystemContext
extends java.lang.Object

システムコンテキスト

作成者:
masanori.matsuoka@netconscious.jp

コンストラクタの概要
SystemContext()
           
 
メソッドの概要
static void close()
          全てのアプリケーションコンテキストをクローズする。
static void closeComponentContext()
           
static void closeComponentContext(java.lang.String componentID)
           
static void closeSystemContext()
           
static void closeUserContext()
           
static java.lang.Object getBean(java.lang.String name)
          アプリケーションコンテキストからPOJOの取得
static java.lang.Object getBean(java.lang.String name, java.lang.Class beanClass)
          アプリケーションコンテキストからPOJOの取得
static org.springframework.context.ApplicationContext getContext()
          アプリケーションコンテキストの取得
static void refreshComponentContext()
           
static void refreshSystemContext()
           
static void refreshUserContext()
           
static boolean shutdownComponents()
           
static boolean startComponents(boolean onlyAutoStartComponent)
           
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SystemContext

public SystemContext()
メソッドの詳細

close

public static void close()
全てのアプリケーションコンテキストをクローズする。


closeComponentContext

public static void closeComponentContext()

closeComponentContext

public static void closeComponentContext(java.lang.String componentID)

closeSystemContext

public static void closeSystemContext()

closeUserContext

public static void closeUserContext()

getBean

public static java.lang.Object getBean(java.lang.String name)
アプリケーションコンテキストからPOJOの取得

パラメータ:
name - コンテキストからPOJOの取得
戻り値:
該当するJavaオブジェクト

getBean

public static java.lang.Object getBean(java.lang.String name,
                                       java.lang.Class beanClass)
アプリケーションコンテキストからPOJOの取得

パラメータ:
name - 取得するJavaオブジェクトの名前
beanClass - 取得するBeanクラス
戻り値:
該当するJavaオブジェクト

getContext

public static org.springframework.context.ApplicationContext getContext()
アプリケーションコンテキストの取得

戻り値:
ApplicationContextオブジェクト

refreshComponentContext

public static void refreshComponentContext()

refreshSystemContext

public static void refreshSystemContext()

refreshUserContext

public static void refreshUserContext()

shutdownComponents

public static boolean shutdownComponents()

startComponents

public static boolean startComponents(boolean onlyAutoStartComponent)