| java.lang.Object org.apache.mina.integration.ognl.IoSessionFinder
IoSessionFinder | public class IoSessionFinder (Code) | | Finds
IoSession s that match a boolean OGNL expression.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 601229 $, $Date: 2007-12-05 00:13:18 -0700 (Wed, 05 Dec 2007) $ |
Constructor Summary | |
public | IoSessionFinder(String query) Creates a new instance with the specified OGNL expression that returns
a boolean value (e.g. |
IoSessionFinder | public IoSessionFinder(String query)(Code) | | Creates a new instance with the specified OGNL expression that returns
a boolean value (e.g. "id == 0x12345678").
|
find | public Set<IoSession> find(Iterable<IoSession> sessions) throws OgnlException(Code) | | Finds a
Set of
IoSession s that matches the query
from the specified sessions and returns the matches.
throws: OgnlException - if failed to evaluate the OGNL expression |
|
|