public class SystemPropertyJvmRouteFactory extends Object implements JvmRouteFactory
Constructor and Description |
---|
SystemPropertyJvmRouteFactory(JvmRouteFactory factory)
Creates a new SystemPropertyJvmRouteFactory using the default system
PROPERTY . |
SystemPropertyJvmRouteFactory(JvmRouteFactory factory,
String property)
Creates a new SystemPropertyJvmRouteFactory
|
public static final String PROPERTY
public SystemPropertyJvmRouteFactory(JvmRouteFactory factory)
PROPERTY
.factory
- the factory from which to generate a jvm route if the default system property is not defined.public SystemPropertyJvmRouteFactory(JvmRouteFactory factory, String property)
property
- the system property that defines this node's jvm routefactory
- the factory from which to generate a jvm route if the specified system property is not defined.public String createJvmRoute(Engine engine)
createJvmRoute
in interface JvmRouteFactory
engine
- an engineorg.jboss.modcluster.JvmRouteFactory#createJvmRoute(org.jboss.modcluster.Engine)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.