ControlTier > controltier-elements
 

JavaServiceWrapper

Windows platform integration of Tanuki Software's Java Wrapper Service facility

Overview

Open in Workbench JavaServiceWrapper: Windows platform integration of Tanuki Software's Java Wrapper Service facility

Design

Super Type
Service
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name

Constraints

Attributes

Exported Attributes

Name Property
installRoot deployment-install-root

Defaults for Imported Attributes

Name Default
javaServiceWrapperAppParameters
javaServiceWrapperConsoleTitle Test Wrapper Sample Application
javaServiceWrapperJavaAdditional
javaServiceWrapperJavaClassPath
javaServiceWrapperJavaHome ${env.JAVA_HOME}
javaServiceWrapperJavaInitMemory 3
javaServiceWrapperJavaMainClass org.tanukisoftware.wrapper.test.Main
javaServiceWrapperJavaMaxMemory 64
javaServiceWrapperNtServiceDescription Test Wrapper Sample Application Description
javaServiceWrapperNtServiceDisplayName Test Wrapper Sample Application
javaServiceWrapperNtServiceInteractive false
javaServiceWrapperNtServiceName testwrapper
javaServiceWrapperNtServiceStartType AUTO_START

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Deploy

Run the service deployment cycle, stopping, unconfiguring, installing package dependencies, configuring and the starting the service. .

Usage
Deploy

Workflow

  1. Stop
  2. Remove
  3. Packages-Install
  4. Configure
  5. Add
  6. Start

Add

Add the Java Service Wrapper Windows service if it is not already installed.

Usage
Add

Workflow

  1. assertServiceIsInstalled

Error Handler

Command

addService

Remove

Remove the Java Service Wrapper Windows service if it is installed.

Usage
Remove

Workflow

  1. assertServiceIsNotInstalled

Error Handler

Command

removeService

Docs-Generate

Generate the server properties file

Usage
Docs-Generate [-installroot <>] [-packagebase <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory

addService

Add the Java Service Wrapper Windows service to the system

Usage
addService [-installroot <>] [-packagebase <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory

removeService

Remove the Java Service Wrapper Windows service from the system

Usage
removeService [-installroot <>] [-packagebase <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory

assertServiceIsUp

Check whether the Java Service Wrapper Windows service is up

Usage
assertServiceIsUp [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

assertServiceIsDown

Check whether the Java Service Wrapper Windows service is down

Usage
assertServiceIsDown [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

assertServiceIsInstalled

Check whether the Java Service Wrapper Windows service is installed

Usage
assertServiceIsInstalled [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

assertServiceIsNotInstalled

Check whether the Java Service Wrapper Windows service is not installed

Usage
assertServiceIsNotInstalled [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

startService

Start the Java Service Wrapper Windows service

Usage
startService [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

stopService

Stop the Java Service Wrapper Windows service

Usage
stopService [-installroot <>] [-packagebase <>] [-servicename <>]

Options

Option Description
installroot Java wrapper service wrapper home directory
packagebase Java wrapper service wrapper package installation directory
servicename Java wrapper service wrapper Windows service name

Related Types

The following types are defined for use with JavaServiceWrapper.

JavaServiceWrapperSetting

Overview

Open in Workbench JavaServiceWrapperSetting: Java Service Wrapper configuration setting

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

JavaServiceWrapperJavaHome

Overview

Open in Workbench JavaServiceWrapperJavaHome: Value of JAVA_HOME for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaHome settingValue

JavaServiceWrapperJavaMainClass

Overview

Open in Workbench JavaServiceWrapperJavaMainClass: Class implementing the Java Service Wrapper WrapperListener interface

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaMainClass settingValue

JavaServiceWrapperJavaClassPath

Overview

Open in Workbench JavaServiceWrapperJavaClassPath: A comma separated list of additional CLASSPATH elements for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaClassPath settingValue

JavaServiceWrapperJavaAdditional

Overview

Open in Workbench JavaServiceWrapperJavaAdditional: Additional parameters for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaAdditional settingValue

JavaServiceWrapperJavaInitMemory

Overview

Open in Workbench JavaServiceWrapperJavaInitMemory: Initial Java heap size in MB for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaInitMemory settingValue

JavaServiceWrapperJavaMaxMemory

Overview

Open in Workbench JavaServiceWrapperJavaMaxMemory: Maximum Java heap size in MB for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperJavaMaxMemory settingValue

JavaServiceWrapperAppParameters

Overview

Open in Workbench JavaServiceWrapperAppParameters: Application parameters for the Java Service Wrapper

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperAppParameters settingValue

JavaServiceWrapperConsoleTitle

Overview

Open in Workbench JavaServiceWrapperConsoleTitle: Title to use when running the Java Service Wrapper as a console

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperConsoleTitle settingValue

JavaServiceWrapperNtServiceName

Overview

Open in Workbench JavaServiceWrapperNtServiceName: Name of the Java Service Wrapper Windows service

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceName settingValue

JavaServiceWrapperNtServiceDisplayName

Overview

Open in Workbench JavaServiceWrapperNtServiceDisplayName: Displayed name of the Java Service Wrapper Windows service

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceDisplayName settingValue

JavaServiceWrapperNtServiceDescription

Overview

Open in Workbench JavaServiceWrapperNtServiceDescription: Description of the Java Service Wrapper Windows service

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceDescription settingValue

JavaServiceWrapperNtServiceStartType

Overview

Open in Workbench JavaServiceWrapperNtServiceStartType: Mode in which the Java Service Wrapper Windows service is installed. AUTO_START or DEMAND_START.

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceStartType settingValue

JavaServiceWrapperNtServiceInteractive

Overview

Open in Workbench JavaServiceWrapperNtServiceInteractive: Whether or not to allow the Java Service Wrapper Windows service to interact with the desktop.

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceInteractive settingValue

JavaServiceWrapperNtServiceAccount

Overview

Open in Workbench JavaServiceWrapperNtServiceAccount: Account to use with the Java Service Wrapper Windows service.

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServiceAccount settingValue

JavaServiceWrapperNtServicePassword

Overview

Open in Workbench JavaServiceWrapperNtServicePassword: Password to use with the Java Service Wrapper Windows service.

Design

Super Type
JavaServiceWrapperSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaServiceWrapperNtServicePassword settingValue