public class IntegrationGraphServer extends Object implements ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>
| Constructor and Description |
|---|
IntegrationGraphServer() |
| Modifier and Type | Method and Description |
|---|---|
Graph |
getGraph()
Return the cached graph.
|
void |
onApplicationEvent(ContextRefreshedEvent event) |
Graph |
rebuild()
Rebuild the graph, re-cache it, and return it.
|
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setApplicationName(String applicationName)
Set the application name that will appear in the 'contentDescriptor' under
the 'name' key.
|
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setApplicationName(String applicationName)
applicationName - the application name.public Graph getGraph()
rebuild()public void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>public Graph rebuild()
getGraph()