[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ecf-dev] Intermittent adapter problems
|
Hi,
In Buckminster, we have a bundle with BundleActivationPolizy set to
'lazy'. The Activator of that bundle has this startup method:
public void start(BundleContext context) throws Exception
{
s_plugin = this;
m_container = ContainerFactory.getDefault().createContainer();
}
It also provides the following convenience method to obtain a file
transfer adapter:
public IRetrieveFileTransferContainerAdapter
createRetrieveFileTransfer()
{
return
(IRetrieveFileTransferContainerAdapter)m_container.getAdapter(IRetrieveFileTransferContainerAdapter.class);
}
Intermittently, and so far seemingly without any pattern, when get a
null value at times when other code in this bundle call the
createRetrieveFileTransfer() method.
So far I've been unable to find the reason. Have you seen anything like
this before? Do you have any ideas what could be causing this?
Thanks,
Thomas Hallgren