Hi,

I just wanted to make a SingleThreaded component poolable. Is this
not allowed?

I get an exception from the excalibur component manager, which does
the following test:
>>>
        if (SingleThreaded.class.isAssignableFrom(componentClass))
        {
            numInterfaces++;
        }

        if (ThreadSafe.class.isAssignableFrom(componentClass))
        {
            numInterfaces++;
        }

        if (Poolable.class.isAssignableFrom(componentClass))
        {
            numInterfaces++;
        }
<<<
This means these interfaces can not combined. I agree that
SingleThreaded and ThreadSafe are not possible and
ThreadSafe and Poolable don't make sense, but
Poolable and SingleThreaded seems ok to me.
Or am I wrong?

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to