Controlling the engine in Java

This section contains an example that demonstrates how to perform engine control.

Name

Example_03_ControllingTheSybaseCEPEngine

Description

This example presents methods used to perform engine control: retrieving general server, workspace, and project information; stopping a project; creating a workspace; and destroying a workspace.

Notable Classes and Methods

engineClient.getServerVersion()

SDK.getVersion()

SDK.isCompatibleWithServerVersion(serverVersion)

WorkspaceInfo

engineClient.getWorkspaces()

ws.getName()

ws.getDescription()

engineClient.getProjectsInWorkspace

engineClient.stopProject

engineClient.createWorkspace

engineClient.destroyWorkspace

Related Information

For more information about engine control, see Engine Control: Overview.