|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.service.GlobalKCBServiceLocator
public class GlobalKCBServiceLocator
Class that holds a singleton reference to KCBServiceLocator
Field Summary | |
---|---|
private static KCBServiceLocator |
locator
The KCBServiceLocator singleton |
private static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
GlobalKCBServiceLocator()
|
Method Summary | |
---|---|
static void |
destroy()
Un-sets the KCBServiceLocator singleton, in order to fulfill a "lifecycle" contract (whereby init may be called again in the same class loader), specifically for unit tests. |
static KCBServiceLocator |
getInstance()
Returns the KCBServiceLocator singleton |
static void |
init(org.springframework.beans.factory.BeanFactory beanFactory)
The global initializer that constructs the KCBServiceLocator singleton |
static boolean |
isInitialized()
Returns whether the GlobalKCBServiceLocator has already been initialized (classloader scoped) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger LOG
private static KCBServiceLocator locator
Constructor Detail |
---|
public GlobalKCBServiceLocator()
Method Detail |
---|
public static void init(org.springframework.beans.factory.BeanFactory beanFactory)
beanFactory
- the beanFactory from which to construct the KCBServiceLocatorpublic static boolean isInitialized()
public static void destroy()
public static KCBServiceLocator getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |