Class SimpleJvmRouteFactory

java.lang.Object
org.jboss.modcluster.config.impl.SimpleJvmRouteFactory
All Implemented Interfaces:
JvmRouteFactory

public class SimpleJvmRouteFactory extends Object implements JvmRouteFactory
Generate a jvm route of the form:
connector-bind-address:connector-port:engine-name
Author:
Paul Ferraro
  • Constructor Details

    • SimpleJvmRouteFactory

      public SimpleJvmRouteFactory()
    • SimpleJvmRouteFactory

      public SimpleJvmRouteFactory(String pattern)
  • Method Details

    • createJvmRoute

      public String createJvmRoute(Engine engine)
      Description copied from interface: JvmRouteFactory
      Creates a unique jvm route for the specified engine.
      Specified by:
      createJvmRoute in interface JvmRouteFactory
      Parameters:
      engine - an engine
      Returns:
      a jvm route