java - Spring integration and changing data routes -


i'm reading through spring integration documentation , still can't 1 thing: spring resolve dependencies , make automagic ioc dependency injection @ compile time or @ runtime?

i believed runtime job wire available components in data route gateway data endpoint (e.g. db). since of examples made using dsl syntax in java, seems it's compile time job.

so, glueing beans in data highway can made @ compile time?

summing comments here :

1) spring ioc container manages beans creation till destruction. means beans ready in sort of bucket, ready use application. thus, necessary create contents of bucket @ compile time, rather runtime. not include hot-swapping of beans.. hope looking for.

2) can create many routes want, beans put in container.... , far understand, cannot change source code , synchronize running one, have atleast graceful restart. there bottom line this, spring must see if beans autowired, no circular dependencies, , there no expectation of source code during run time. sure can beans via rmi, doesn't count have declared already. yes, compile time is


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -