BrightSide Workbench Full Report + Source Code
org.turro.action.Initializers Class Reference

Static Public Member Functions

static void initialize (IConstructor constructor)
 

Static Public Attributes

static boolean initialized = false
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file Initializers.java.

Member Function Documentation

◆ initialize()

static void org.turro.action.Initializers.initialize ( IConstructor  constructor)
static

Definition at line 36 of file Initializers.java.

36  {
37  if(!initialized) {
38  lock.lock();
39  try {
40  if(!initialized) {
41  initialized = true;
42  Instances.cached().byAnnotation(ElephantInitializer.class, IElephantInitializer.class)
43  .forEach((initializer) -> {
44  initializer.initialize(constructor);
45  });
46  }
47  } finally {
48  lock.unlock();
49  }
50  }
51  }
Here is the caller graph for this function:

Member Data Documentation

◆ initialized

boolean org.turro.action.Initializers.initialized = false
static

Definition at line 33 of file Initializers.java.


The documentation for this class was generated from the following file: