// outgoing raw data to ImageRequest and ImageResponse objects
ProtocolCodecFilter protocolFilter = new ProtocolCodecFilter(new ImageCodecFactory(false));
// create a JMX-aware bean that wraps a MINA IoFilter object. In this
// case, a ProtocolCodecFilter
IoFilterMBean protocolFilterMBean = new IoFilterMBean( protocolFilter );
// create a JMX ObjectName.
ObjectName protocolFilterName = new ObjectName( protocolFilter.getClass().getPackage().getName() +
":type=protocolfilter,name=" + protocolFilter.getClass().getSimpleName() );