@Component public class JsScriptRegistrator extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
static String |
SCRIPT_TYPE_JAVASCRIPT |
| Constructor and Description |
|---|
JsScriptRegistrator(ScriptRunnerFactory scriptRunnerFactory,
JsScriptRunner jsScriptRunner) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
public static final String SCRIPT_TYPE_JAVASCRIPT
@Autowired public JsScriptRegistrator(ScriptRunnerFactory scriptRunnerFactory, JsScriptRunner jsScriptRunner)
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2016. All Rights Reserved.