Deprecated API


Contents
Deprecated Classes
org.jbpm.web.CloseJbpmConfigurationServlet
          Replaced by JbpmConfigurationCloser 
org.jbpm.db.JbpmSession
          use JbpmContext and JbpmConfiguration instead. 
org.jbpm.db.JbpmSessionFactory
          use JbpmContext and JbpmConfiguration instead. 
org.jbpm.job.executor.JobExecutorServlet
          Replaced by JobExecutorLauncher 
org.jbpm.jpdl.xml.JpdlXmlWriter
          xml generation was never finished and will be removed in the future. 
 

Deprecated Fields
org.jbpm.job.executor.JobExecutor.historyMaxSize
          this field was never used 
org.jbpm.persistence.db.DbPersistenceService.services
          for access to other services, invoke JbpmContext.getServices() 
 

Deprecated Methods
org.jbpm.jpdl.el.parser.SimpleCharStream.getColumn()
            
org.jbpm.JbpmContext.getCurrentJbpmContext()
          method moved to JbpmConfiguration. 
org.jbpm.db.JbpmSession.getCurrentJbpmSession()
          use JbpmConfiguration.getCurrentJbpmContext() instead. 
org.jbpm.job.executor.JobExecutor.getHistoryMaxSize()
          this property was never used 
org.jbpm.jpdl.el.parser.SimpleCharStream.getLine()
            
org.jbpm.command.ChangeProcessInstanceVersionCommand.getNameMapping()
          use getNodeNameMapping instead 
org.jbpm.command.CancelProcessInstanceCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.GetProcessInstancesCommand.getProcessId()
            
org.jbpm.command.GetProcessInstanceLogCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.NewProcessInstanceCommand.getProcessId()
          use getProcessDefinitionId instead 
org.jbpm.command.ChangeProcessInstanceVersionCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.GetProcessInstancesCommand.getProcessName()
            
org.jbpm.command.NewProcessInstanceCommand.getProcessName()
          use getProcessDefinitionName instead 
org.jbpm.job.executor.JobExecutor.getSize()
          Replaced by {JobExecutor.getNbrOfThreads() 
org.jbpm.persistence.PersistenceService.isRollbackOnly()
          use TxService instead. 
org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly()
          use TxService.isRollbackOnly() instead 
org.jbpm.util.ClassLoaderUtil.loadClass(String)
          Use ClassLoaderUtil.classForName 
org.jbpm.db.GraphSession.saveProcessInstance(ProcessInstance)
          use JbpmContext.save(ProcessInstance) instead. 
org.jbpm.job.executor.LockMonitorThread.setActive(boolean)
          As of jBPM 3.2.3, replaced by LockMonitorThread.deactivate() 
org.jbpm.job.executor.JobExecutorThread.setActive(boolean)
          As of jBPM 3.2.3, replaced by JobExecutorThread.deactivate() 
org.jbpm.job.executor.JobExecutor.setHistoryMaxSize(int)
          this property was never used 
org.jbpm.job.executor.JobExecutor.setMonitoredJobIds(Map)
          monitoredJobIds is an internal control field 
org.jbpm.command.ChangeProcessInstanceVersionCommand.setNameMapping(Map)
          use setNodeNameMapping instead 
org.jbpm.command.CancelProcessInstanceCommand.setProcessId(long)
          use setProcessInstanceId instead 
org.jbpm.command.GetProcessInstancesCommand.setProcessId(long)
            
org.jbpm.command.GetProcessInstanceLogCommand.setProcessId(long)
          use setProcessInstanceId instead 
org.jbpm.command.NewProcessInstanceCommand.setProcessId(long)
          use setProcessDefinitionId instead 
org.jbpm.command.ChangeProcessInstanceVersionCommand.setProcessId(long)
          use setProcessInstanceId instead 
org.jbpm.command.GetProcessInstancesCommand.setProcessName(String)
            
org.jbpm.command.NewProcessInstanceCommand.setProcessName(String)
          use setProcessDefinitionName instead 
org.jbpm.persistence.PersistenceService.setRollbackOnly()
          use TxService instead. 
org.jbpm.persistence.db.DbPersistenceService.setRollbackOnly()
          use TxService.setRollbackOnly() instead 
org.jbpm.persistence.PersistenceService.setRollbackOnly(boolean)
          use TxService instead. 
org.jbpm.persistence.db.DbPersistenceService.setRollbackOnly(boolean)
          use TxService.setRollbackOnly() instead 
org.jbpm.persistence.db.DbPersistenceService.setSessionWithoutDisablingTx(Session)
          use setSession(session, true) instead 
org.jbpm.job.executor.JobExecutor.setSize(int)
          Replaced by JobExecutor.setNbrOfThreads(int) 
org.jbpm.job.executor.JobExecutor.setStarted(boolean)
          isStarted is an internal control field 
org.jbpm.job.executor.JobExecutor.setThreads(Map)
          threads is an internal control field 
 

Deprecated Constructors
org.jbpm.job.executor.JobExecutorThread(String, JobExecutor, JbpmConfiguration, int, int, long, int)
          As of jBPM 3.2.6, replaced by JobExecutorThread.JobExecutorThread(String, JobExecutor) 
org.jbpm.job.executor.LockMonitorThread(JbpmConfiguration, int, int, int)
          As of jBPM 3.2.6, replaced by LockMonitorThread.LockMonitorThread(JobExecutor) 
 



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.