Index     DocHome     Next     
iPlanet Process Manager Programming Guide Version 6.0 Service Pack 2



Process Manager Programming Guide
Contents



Introduction
About This Book
Developing Process Manager Applications
Interacting with Clusters and Deployed Applications
Assumptions
Conventions Used in This Guide
For More Information


Chapter 1 Writing Custom Activities
Introduction
Comparison to Automated Activities
Overview of Creating a Custom Activity
Implementing ISimpleWorkPerformer
Methods of ISimpleWorkPerformer
Sample Java Class
Writing the XML Description File
File Format
Sample XML Description File
Packaging a Custom Activity
Adding a Custom Activity to the Process Map
Adding a Custom Activity from a Custom Palette
Adding a Custom Activity without Using a Custom Palette
Working with a Custom Activity
Implementation Tips
Avoid Instance Data
Use Consistent Data Types
Avoid Non-default Constructors
Use One Implementation of a Java Class Per Server
When to Use a Custom Activity
Example Custom Activity


Chapter 2 Writing Custom Data Fields
Introduction
Steps for Creating a Custom Field
Defining Field Properties in a JSB File
JSB_DESCRIPTOR Tag
JSB_PROPERTY Tag
Writing the Java Classes
Define a Subclass of BasicCustomField
The Methods in Detail
Specifying Images for Use in Process Builder
Packaging a Custom Field
Adding a Custom Field to an Application
Example Custom Data Field
Development Hints and Tips
Avoid Non-default Constructors
Avoid Instance Data
Use Entity Keys
Deploy the Custom Field to Test It
Develop and Test on a Server Where Process Manager is Installed
Use One Implementation of a Java Class Per Server
Debugging Hints
Class Reference
BasicCustomField
archive()
create()
display()
getName()
getPMApplication()
getPrettyName()
load()
loadDataElementProperties()
store()
update
IPMRequest
getAuthenticatedUserId
getParameter
isParameterDefined


Chapter 3 Advanced Office Setup Application
Changes in the Advanced Office Setup Application
The Custom Data Field
Overview
The Code in Detail
Complete Source Code
The Custom Activity
Overview
The Code in Detail
Complete Source Code


Chapter 4 Cluster Management
Introduction
IPMClusterManager
IPMCluster
IPMClusterProperty
Getting and Setting Property Values
PMClusterPropertyFactory
Code Samples
Mount the Cluster Manager and Get the Default Cluster
Create a Cluster
Get and Set Cluster Properties


Chapter 5 Deployment Manager
Deployment States
STAGE
MODE
STATUS
TESTING
IDeploymentManager Interface
Where are the Classes and Interfaces?
IDeploymentDescriptor Interface
Code Example


Chapter 6 Working with Applications, Process Instances and Work Items
IPMApplication
IProcessInstance
IWorkItem
IFinder
Index


Index     DocHome     Next     
Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.

Last Updated March 13, 2001