com.ibm.bpe.formrenderer.util

Class HTMConnection

  1. java.lang.Object
  2. extended bycom.ibm.bpe.formrenderer.util.HTMConnection

  1. public class HTMConnection
  2. extends java.lang.Object

Provides access to the HumanTaskManagerService API. The Human Task Manager API is rendered through an EJB. Use HTMConnection to initialize and configure references to the EJB.

Use the following parameters to configure the connection:

For example, the HTMConnection can be used as context for a Command.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
(C) Copyright IBM Corporation 2005, 2009.

Constructor Summary

Constructor and Description
HTMConnection()
Creates a new connection to the HumanTaskManagerService.

Method Summary

Modifier and Type Method and Description
  1. void
close()
Closes the connection to the process engine.
  1. protected
  2. void
finalize()
Ensures that the close() method is called before the object is disposed of by the garbage collector.
  1. HumanTaskManagerService
getHumanTaskManagerService()
Retrieves the HumanTaskManagerService bean.
  1. java.lang.String
getJndiName()
Gets the JNDI name for the Human Task Manager API EJB.
  1. java.lang.Boolean
getObserver()
Gets whether the observer EJB is configured within BPCExplorer.
  1. java.lang.String
getProviderURL()
Gets the URL to the service provider for the Human Task Manager API EJBs.
  1. java.lang.String
getRemote()
Gets whether the connection is to be made through a remote or local EJB interface.
  1. void
setJndiName(java.lang.String newName)
Sets the JNDI name for the Human Task Manager API EJB.
  1. void
setObserver(java.lang.Boolean booleanValue)
Sets whether the observer EJB is configured within BPCExplorer.
  1. void
setProviderURL(java.lang.String url)
Sets the URL to the service provider of the Human Task Manager API EJBs.
  1. void
setRemote(java.lang.String booleanString)
Sets whether the connection is to be made through a remote or local EJB interface.
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2005, 2009.
See Also:

Constructor Detail

HTMConnection

  1. public HTMConnection()
Creates a new connection to the HumanTaskManagerService.

Method Detail

getProviderURL

  1. public java.lang.String getProviderURL( )
Gets the URL to the service provider for the Human Task Manager API EJBs.
Returns:
an URL

setProviderURL

  1. public void setProviderURL(java.lang.String url)
Sets the URL to the service provider of the Human Task Manager API EJBs.
Parameters:
url - for example, "iiop://localhost"

getJndiName

  1. public java.lang.String getJndiName( )
Gets the JNDI name for the Human Task Manager API EJB.
Returns:
the JNDI lookup name

setJndiName

  1. public void setJndiName(java.lang.String newName)
Sets the JNDI name for the Human Task Manager API EJB.
Parameters:
newName - The new JNDI lookup name

setRemote

  1. public void setRemote(java.lang.String booleanString)
Sets whether the connection is to be made through a remote or local EJB interface.
Parameters:
booleanString - 'TRUE' and 'FALSE' are valid values.

getRemote

  1. public java.lang.String getRemote( )
Gets whether the connection is to be made through a remote or local EJB interface.
Returns:
'TRUE' or 'FALSE'.

getObserver

  1. public java.lang.Boolean getObserver( )
Gets whether the observer EJB is configured within BPCExplorer.
Returns:
'TRUE' or 'FALSE'.

setObserver

  1. public void setObserver(java.lang.Boolean booleanValue)
Sets whether the observer EJB is configured within BPCExplorer.
Parameters:
booleanValue - 'TRUE' and 'FALSE' are valid values.

close

  1. public void close()
Closes the connection to the process engine.

finalize

  1. protected void finalize()
  2. throws java.lang.Throwable
Ensures that the close() method is called before the object is disposed of by the garbage collector.
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable
See Also:
Object.finalize()

getHumanTaskManagerService

  1. public HumanTaskManagerService getHumanTaskManagerService( )
  2. throws javax.naming.NamingException
  3. javax.ejb.CreateException
  4. java.rmi.RemoteException
Retrieves the HumanTaskManagerService bean.
Returns:
the HumanTaskManagerService bean.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException