|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.configuration.support.JobFactoryRegistrationListener
public class JobFactoryRegistrationListener
Generic service that can bind and unbind a JobFactory in a
JobRegistry.
| Constructor Summary | |
|---|---|
JobFactoryRegistrationListener()
|
|
| Method Summary | |
|---|---|
void |
bind(JobFactory jobFactory,
java.util.Map<java.lang.String,?> params)
Take the JobFactory provided and register it with the
JobRegistry. |
void |
setJobRegistry(JobRegistry jobRegistry)
Public setter for a JobRegistry to use for all the bind and
unbind events. |
void |
unbind(JobFactory jobFactory,
java.util.Map<java.lang.String,?> params)
Take the JobFactory provided and unregister it with the
JobRegistry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobFactoryRegistrationListener()
| Method Detail |
|---|
public void setJobRegistry(JobRegistry jobRegistry)
JobRegistry to use for all the bind and
unbind events.
jobRegistry - JobRegistry
public void bind(JobFactory jobFactory,
java.util.Map<java.lang.String,?> params)
throws java.lang.Exception
JobFactory provided and register it with the
JobRegistry.
jobFactory - a JobFactoryparams - not needed by this listener.
java.lang.Exception - if there is a problem
public void unbind(JobFactory jobFactory,
java.util.Map<java.lang.String,?> params)
throws java.lang.Exception
JobFactory provided and unregister it with the
JobRegistry.
jobFactory - a JobFactoryparams - not needed by this listener.
java.lang.Exception - if there is a problem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||