org.mortbay.jetty.xbean
Class JettyFactoryBean

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
          extended by org.mortbay.jetty.handler.AbstractHandlerContainer
              extended by org.mortbay.jetty.handler.HandlerWrapper
                  extended by org.mortbay.jetty.Server
                      extended by 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
 
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle
LifeCycle.Listener
 
Field Summary
 Collection deployers
           
 ContextDeployer hotDeployer
           
 
Fields inherited from class org.mortbay.jetty.Server
SNAPSHOT_VERSION, UNKNOWN_VERSION
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from class org.mortbay.component.AbstractLifeCycle
_listeners
 
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
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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 © 1995-2009 Mort Bay Consulting. All Rights Reserved.