public class ResolversPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
obtainCompanyNameFromInstanceRole
The Constant obtainCompanyNameFromInstanceRole.
|
static java.lang.String |
obtainConceptNameRole
The Constant obtainConceptNameRole.
|
Constructor and Description |
---|
ResolversPool() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
doWork(java.lang.String role,
java.lang.Object parameter,
Supervisor supervisor)
Do the work for the specified role and pass it the required parameters.
|
static java.lang.String[] |
getRoles()
Returns all roles for which the pool has workers registered.
|
public static final java.lang.String obtainCompanyNameFromInstanceRole
public static final java.lang.String obtainConceptNameRole
public static java.lang.String[] getRoles()
public static java.lang.Object doWork(java.lang.String role, java.lang.Object parameter, Supervisor supervisor)
role
- the role requestedparameter
- the parametersupervisor
- the supervisorCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa