Jul 17th, 2006, 02:07 AM
costomize spring schema
want to achieve following definition:
<bean id="MyBean" class="MyClass" init-method="init" start-method="start" register="MyBean"/>
the initialization prozess of our objects consists of 3 steps:
- call init methods of objects
- after all init methods were called: call start method (to start threads, ...)
- optional: register started objects in a registry with a given name
actually, i'm not very familiar with xml-schema - how could a custom schema look like for achieving above definition?
what are the necessary steps to be able to process such bean definitions?
br, thanks in advance