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