com.caucho.server.embed
Class ResinEmbed

java.lang.Object
  extended by com.caucho.server.embed.ResinEmbed

public class ResinEmbed
extends java.lang.Object

Embeddable version of the Resin server.


Constructor Summary
ResinEmbed()
          Creates a new resin server.
 
Method Summary
 void addWebApp(java.lang.String contextPath, java.lang.String rootDirectory)
           
 void destroy()
           
protected  void finalize()
           
 void setHttpPort(int port)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResinEmbed

public ResinEmbed()
Creates a new resin server.

Method Detail

setHttpPort

public void setHttpPort(int port)

addWebApp

public void addWebApp(java.lang.String contextPath,
                      java.lang.String rootDirectory)

start

public void start()

stop

public void stop()

destroy

public void destroy()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable