You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Jeff Lansing <jl...@spawar.navy.mil> on 2006/02/14 19:40:41 UTC

[mina] class access problem

Hi,

 

In directory/releases/mina-0.9.0/src/java/org/apache/mina/common the class
DefaultIoFilterChainBuilder.java provides public methods to get Entries, to
get lists of Entries, etc. But it turns out that Entry is a private class,
so they are entirely useless when you get them. Surely this is not intended?

 

Thanks,

 

Jeff


RE: [mina] class access problem

Posted by Jeff Lansing <jl...@spawar.navy.mil>.
Niklas,

Aha! Very careless of me.

Thank you very much,

Jeff

-----Original Message-----
From: Niklas Therning [mailto:niklas@trillian.se] 
Sent: Tuesday, February 14, 2006 11:19 AM
To: Apache Directory Developers List
Subject: Re: [mina] class access problem

Jeff Lansing wrote:
> Hi,
> 
>  
> 
> In directory/releases/mina-0.9.0/src/java/org/apache/mina/common the
> class DefaultIoFilterChainBuilder.java provides public methods to get
> Entries, to get lists of Entries, etc. But it turns out that Entry is a
> private class, so they are entirely useless when you get them. Surely
> this is not intended?

The private inner class EntryImpl in DefaultIoFilterChainBuilder
implements IoFilterChain.Entry which is a public interface. All the
methods you are referring to return IoFilterChain.Entry not EntryImpl.

/Niklas



Re: [mina] class access problem

Posted by Niklas Therning <ni...@trillian.se>.
Jeff Lansing wrote:
> Hi,
> 
>  
> 
> In directory/releases/mina-0.9.0/src/java/org/apache/mina/common the
> class DefaultIoFilterChainBuilder.java provides public methods to get
> Entries, to get lists of Entries, etc. But it turns out that Entry is a
> private class, so they are entirely useless when you get them. Surely
> this is not intended?

The private inner class EntryImpl in DefaultIoFilterChainBuilder
implements IoFilterChain.Entry which is a public interface. All the
methods you are referring to return IoFilterChain.Entry not EntryImpl.

/Niklas