Package org.jboss.modcluster.config.impl
Class SystemPropertyJvmRouteFactory
java.lang.Object
org.jboss.modcluster.config.impl.SystemPropertyJvmRouteFactory
- All Implemented Interfaces:
JvmRouteFactory
Decorates an existing jvm route factory, allowing system property override if defined.
- Author:
- Paul Ferraro
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new SystemPropertyJvmRouteFactory using the default systemPROPERTY
.SystemPropertyJvmRouteFactory
(JvmRouteFactory factory, String property) Creates a new SystemPropertyJvmRouteFactory -
Method Summary
Modifier and TypeMethodDescriptioncreateJvmRoute
(Engine engine) Creates a unique jvm route for the specified engine.
-
Field Details
-
PROPERTY
- See Also:
-
-
Constructor Details
-
SystemPropertyJvmRouteFactory
Creates a new SystemPropertyJvmRouteFactory using the default systemPROPERTY
.- Parameters:
factory
- the factory from which to generate a jvm route if the default system property is not defined.
-
SystemPropertyJvmRouteFactory
Creates a new SystemPropertyJvmRouteFactory- Parameters:
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.
-
-
Method Details
-
createJvmRoute
Description copied from interface:JvmRouteFactory
Creates a unique jvm route for the specified engine.- Specified by:
createJvmRoute
in interfaceJvmRouteFactory
- Parameters:
engine
- an engine- Returns:
- a jvm route
-