Class: JRubyCipango::Factory::JRCRackListener

Inherits:
RackServletContextListener
  • Object
show all
Defined in:
lib/jrubycipango/factory.rb

Instance Method Summary collapse

Instance Method Details

#newApplicationFactory(context) ⇒ Object



23
24
25
26
27
28
29
30
31
# File 'lib/jrubycipango/factory.rb', line 23

def newApplicationFactory(context)
  if factory
    return factory
  else
    return (
      SharedRackApplicationFactory.new(JRCRackFactory.new)
    )
  end
end