## org.mortbay.jetty.xbean
Class JettyFactoryBean

    java.lang.Object
      org.mortbay.component.AbstractLifeCycle
          org.mortbay.jetty.handler.AbstractHandler
              org.mortbay.jetty.handler.AbstractHandlerContainer
                  org.mortbay.jetty.handler.HandlerWrapper
                      org.mortbay.jetty.Server
                          org.mortbay.jetty.xbean.JettyFactoryBean

All Implemented Interfaces:
  LifeCycle, Handler, HandlerContainer, Attributes

    public class JettyFactoryBean

extends Server

Creates an instance of Jetty inside an XBean configuration file

Version:
  $Revision: 1294 $

Nested Class Summary

Nested classes/interfaces inherited from class org.mortbay.jetty.Server
`Server.Graceful`

Field Summary
`Collection` `deployers`
`ContextDeployer` `hotDeployer`

Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
`_string`

Fields inherited from interface org.mortbay.jetty.Handler
`ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST`

Constructor Summary
`JettyFactoryBean()`

Method Summary
`Collection` `getDeployers()`
`ContextDeployer` `getHotDeployer()`
`void` `run()`
`void` `setDeployers(Collection deployers)`
`void` `setHotDeployer(ContextDeployer hotDeployer)`

Methods inherited from class org.mortbay.jetty.Server

`addConnector, addHandler, addLifeCycle, addUserRealm, clearAttributes, doStart, doStop, getAttribute, getAttributeNames, getConnectors, getContainer, getGracefulShutdown, getHandlers, getSendDateHeader, getSendServerVersion, getSessionIdManager, getStopAtShutdown, getThreadPool, getUserRealms, getVersion, handle, join, removeAttribute, removeConnector, removeHandler, removeLifeCycle, removeUserRealm, setAttribute, setConnectors, setGracefulShutdown, setHandlers, setSendDateHeader, setSendServerVersion, setSessionIdManager, setStopAtShutdown, setThreadPool, setUserRealms`

Methods inherited from class org.mortbay.jetty.handler.HandlerWrapper
`expandChildren, getHandler, handle, setHandler, setServer`

Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
`expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass`

Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
`destroy, getServer, toString`

Methods inherited from class org.mortbay.component.AbstractLifeCycle
`isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface org.mortbay.component.LifeCycle
`isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop`

Field Detail

### deployers

    public Collection deployers

### hotDeployer

    public ContextDeployer hotDeployer

Constructor Detail

### JettyFactoryBean

    public JettyFactoryBean()

Method Detail

### run

    public void run()
             throws Exception

  Throws:
    `Exception`

### getDeployers

    public Collection getDeployers()

### setDeployers

    public void setDeployers(Collection deployers)

### getHotDeployer

    public ContextDeployer getHotDeployer()

### setHotDeployer

    public void setHotDeployer(ContextDeployer hotDeployer)

Copyright © 2008 Mort Bay Consulting. All Rights Reserved.