You can't cycle a single bean, because any other beans that it might
have been injected into will suddenly have stale references with no
good way to update them.  But if you just create a new BeanFactory,
it'll start from scratch and recreate all your beans, rewiring them
together.  Bouncing CF does the same thing (creates a new
BeanFactory), but obviously does a whole lot more.

cheers,
barneyb

On 3/1/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
At the moment we have a number of beans managed by ColdSpring, in the
application scope.
If we make a minor change, we currently have to bounce ColdFusion in order for
the newly modified bean to be return from the bean factory, due to the
caching.

Which is *OK*, but what we'd like to be able to do is tell ColdSpring 'this
bean here, just that one, go off and regenerate it'. We could then put that
method in an application lock, and refresh the bean on the fly.

Does something like this already exist in the framework somewhere ?
--
Tom Chiverton
Helping to interactively negotiate next-generation portals
On: http://thefalken.livejournal.com

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.





--
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

Reply via email to