com.caucho.server.resin
Class ProResinDelegate

java.lang.Object
  extended by com.caucho.server.resin.ResinDelegate
      extended by com.caucho.server.resin.ProResinDelegate

public class ProResinDelegate
extends ResinDelegate

The Resin class represents the top-level container for Resin. It exactly matches the <resin> tag in the resin.conf


Constructor Summary
ProResinDelegate(Resin resin)
          Creates a new resin server.
 
Method Summary
protected  void addLicenses()
           
protected  void addPreTopologyServices()
           
protected  void addServices()
           
protected  DistCacheSystem createDistCacheService()
           
protected  LoadBalanceFactory createLoadBalanceFactory()
           
 LogSystem createLogSystem()
           
protected  NetworkClusterSystem createNetworkSystem(CloudServer server)
           
 AbstractRepository createRepository(RepositorySpi localRepository)
           
 Management createResinManagement()
           
protected  Server createServer()
           
 StatSystem createStatSystem()
           
 void dumpHeapOnExit()
          Dump heap on exit.
 void dumpThreads()
          Dump threads for debugging
 LicenseCheck getLicenseCheck()
           
protected  java.lang.String getLicenseMessage()
           
protected  java.lang.String getResinName()
           
 StatProbeManager getStatProbeManager()
           
 boolean isProfessional()
           
protected  CloudServer joinCluster(CloudSystem system)
           
protected  ClusterServer loadDynamicServer(ClusterPod pod, java.lang.String dynId, java.lang.String dynAddress, int dynPort)
           
protected  void validateServerCluster()
           
 
Methods inherited from class com.caucho.server.resin.ResinDelegate
create, createManagementMBean, createOpenSource, getLicenseErrorMessage, getResin, loadCloudLicenses, setLicenseErrorMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProResinDelegate

public ProResinDelegate(Resin resin)
Creates a new resin server.

Method Detail

addLicenses

protected void addLicenses()

getLicenseMessage

protected java.lang.String getLicenseMessage()
Overrides:
getLicenseMessage in class ResinDelegate

getResinName

protected java.lang.String getResinName()
Overrides:
getResinName in class ResinDelegate

getLicenseCheck

public LicenseCheck getLicenseCheck()
Overrides:
getLicenseCheck in class ResinDelegate

isProfessional

public boolean isProfessional()
Overrides:
isProfessional in class ResinDelegate
Returns:

createResinManagement

public Management createResinManagement()
Overrides:
createResinManagement in class ResinDelegate

createStatSystem

public StatSystem createStatSystem()
Overrides:
createStatSystem in class ResinDelegate

createLogSystem

public LogSystem createLogSystem()
Overrides:
createLogSystem in class ResinDelegate
Returns:

createRepository

public AbstractRepository createRepository(RepositorySpi localRepository)
Overrides:
createRepository in class ResinDelegate

createNetworkSystem

protected NetworkClusterSystem createNetworkSystem(CloudServer server)
Overrides:
createNetworkSystem in class ResinDelegate

createDistCacheService

protected DistCacheSystem createDistCacheService()
Overrides:
createDistCacheService in class ResinDelegate

getStatProbeManager

public StatProbeManager getStatProbeManager()

joinCluster

protected CloudServer joinCluster(CloudSystem system)
Overrides:
joinCluster in class ResinDelegate

loadDynamicServer

protected ClusterServer loadDynamicServer(ClusterPod pod,
                                          java.lang.String dynId,
                                          java.lang.String dynAddress,
                                          int dynPort)
Overrides:
loadDynamicServer in class ResinDelegate
Returns:

validateServerCluster

protected void validateServerCluster()
Overrides:
validateServerCluster in class ResinDelegate

dumpThreads

public void dumpThreads()
Dump threads for debugging

Overrides:
dumpThreads in class ResinDelegate

dumpHeapOnExit

public void dumpHeapOnExit()
Dump heap on exit.

Overrides:
dumpHeapOnExit in class ResinDelegate

createLoadBalanceFactory

protected LoadBalanceFactory createLoadBalanceFactory()
Overrides:
createLoadBalanceFactory in class ResinDelegate

addPreTopologyServices

protected void addPreTopologyServices()
Overrides:
addPreTopologyServices in class ResinDelegate

addServices

protected void addServices()
Overrides:
addServices in class ResinDelegate

createServer

protected Server createServer()
Overrides:
createServer in class ResinDelegate
Returns: