public void init() throws JBIException {
log.info("Initializing component: " + getName());
if (context != null && component != null) {
DeliveryChannelImpl channel = new DeliveryChannelImpl(this);
channel.setContext(context);
context.setDeliveryChannel(channel);
ClassLoader loader = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(getLifeCycle().getClass().getClassLoader());
getLifeCycle().init(context);