Salut,
Oleksiy Stashok wrote:
> I think the easiest way here is to wait until we will have Grizzly
> config integrated to GFv3. This Friday we have Grizzly config review and
> then, if it will be approved, we'll be able to give estimates/deadlines
> when it will be integrated.
Agree :-) Except we will have to implement such support, which we
haven't plan until Sebastien raised the current scenario. Hopefully that
should be easy to implement :-)
A+
-- Jeanfrancois
>
> WBR,
> Alexey.
>
>
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=7069
>>
>> could be good the have fun control over the flow in GF or Grizzly.
>>
>> 2009/1/19 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>>
>>
>> Salut,
>>
>>
>> Survivant 00 wrote:
>>
>> I want to know if it's possible to create filters for
>> Glassfish using the Grizzly API ?
>>
>>
>> Not yet.
>>
>>
>>
>> Suppose that I want to log every connections and disconnection
>> made on Glassfish, can I do that ?
>>
>>
>> Right now it would be quite hard to implement as there is no
>> public API available. But just file an RFE here:
>>
>> https://glassfish.dev.java.net/servlets/ProjectIssues
>>
>> and I will find a way to allow you to do that. I'm not promising
>> for this week, but for sure I will add some -D property that allow
>> such extension. So far we only allow Adapter/GrizzlyAdapter
>> deployment, but I will talk with Jerome (GF leads) and se if we
>> can do the same things with ProtocolFilter.
>>
>> A+
>>
>> -- Jeanfrancois
>>
>>
>>
>>
>> I hope we can, and if I can.. how can I choose the filters order ?
>>
>> Do we have a sample somewhere for that ?
>>
>> I don't know if we can do that
>>
>> // to be notify when a client/server close the connection
>> selectionKeyHandler.setConnectionCloseHandler(new
>> ConnectionCloseHandler() {
>>
>> public void locallyClosed(SelectionKey key) {
>> if(s_logger.isDebugEnabled()){
>> s_logger.debug(key + " is being locally
>> cancelled");
>> }
>> }
>> public void remotlyClosed(SelectionKey key) {
>> if(s_logger.isDebugEnabled()){
>> s_logger.debug(key + " is being remotly
>> cancelled (connection closed)");
>> }
>> }
>> });
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> <mailto:users-unsubscribe_at_grizzly.dev.java.net>
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>> <mailto:users-help_at_grizzly.dev.java.net>
>>
>>
>