Deprecated API


Contents
Deprecated Classes
org.jbpm.command.AsynchronousCommand
          asynchronous commands were never implemented 
org.jbpm.util.Clock.DefaultDateGenerator
          leave configuration entry jbpm.date.generator unset instead 
org.jbpm.web.CloseJbpmConfigurationServlet
          Replaced by JbpmConfigurationCloser 
org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl
          leave configuration entry jbpm.task.instance.factory unset instead 
org.jbpm.db.compatibility.JbpmSchemaUpdate
          superseded by JbpmSchema 
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.graph.node.advanced.ParallelSplit
          parallel split is realized with a Fork with async branches 
org.jbpm.db.hibernate.SybaseRowLockDialect
          use SybaseDialect instead 
 

Deprecated Fields
org.jbpm.util.Clock.dateGenerator
          set configuration entry jbpm.date.generator instead 
org.jbpm.graph.def.DelegationException.executionContext
          this execution context may not be in a consistent state 
org.jbpm.job.executor.JobExecutor.historyMaxSize
          property has no effect 
org.jbpm.job.executor.JobExecutor.hostName
          this field was just an aid for generating thread names 
org.jbpm.job.executor.JobExecutor.lockBufferTime
          property has no effect 
org.jbpm.job.executor.JobExecutor.lockMonitorThread
          call JobExecutor.getThreads() instead 
org.jbpm.persistence.db.DbPersistenceService.services
          for access to other services, invoke JbpmContext.getServices() 
org.jbpm.graph.def.Node.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use Node.getSupportedEventTypes() instead 
org.jbpm.graph.def.SuperState.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use SuperState.getSupportedEventTypes() instead 
org.jbpm.graph.def.ProcessDefinition.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use ProcessDefinition.getSupportedEventTypes() instead 
org.jbpm.graph.def.Transition.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use Transition.getSupportedEventTypes() instead 
org.jbpm.graph.node.StartState.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation; call StartState.getSupportedEventTypes() instead 
org.jbpm.graph.node.ProcessState.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use ProcessState.getSupportedEventTypes() instead 
org.jbpm.graph.node.EndState.supportedEventTypes
          arrays are mutable and thus vulnerable to external manipulation. use EndState.getSupportedEventTypes() instead 
org.jbpm.job.executor.JobExecutor.threads
          call JobExecutor.getThreads() instead 
 

Deprecated Methods
org.jbpm.jpdl.xml.JpdlXmlReader.createMailDelegation(String, String, String, String, String)
          call JpdlXmlReader.readMailDelegation(Element) instead 
org.jbpm.util.EqualsUtil.equals(Object, Object)
          hack does not work 
org.jbpm.graph.exe.Token.foreUnlock()
          Use Token.forceUnlock() instead 
org.jbpm.job.Job.getAqcuireDate()
          call Job.getLockTime() instead 
org.jbpm.jpdl.el.parser.SimpleCharStream.getColumn()
            
org.jbpm.db.JbpmSession.getCurrentJbpmSession()
          use JbpmConfiguration.getCurrentJbpmContext() instead. 
org.jbpm.graph.def.DelegationException.getExecutionContext()
          the returned execution context may not be in a consistent state 
org.jbpm.job.executor.JobExecutor.getHistoryMaxSize()
          property has no effect 
org.jbpm.job.Job.getJobExecutorName()
          call Job.getLockOwner() instead 
org.jbpm.jpdl.el.parser.SimpleCharStream.getLine()
            
org.jbpm.job.executor.JobExecutor.getLockBufferTime()
          property has no effect 
org.jbpm.graph.def.Node.getNameExt()
          not in use 
org.jbpm.command.ChangeProcessInstanceVersionCommand.getNameMapping()
          use getNodeNameMapping instead 
org.jbpm.command.GetProcessInstancesCommand.getProcessId()
            
org.jbpm.command.ChangeProcessInstanceVersionCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.NewProcessInstanceCommand.getProcessId()
          use getProcessDefinitionId instead 
org.jbpm.command.GetProcessInstanceLogCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.CancelProcessInstanceCommand.getProcessId()
          use getProcessInstanceId instead 
org.jbpm.command.GetProcessInstancesCommand.getProcessName()
            
org.jbpm.command.NewProcessInstanceCommand.getProcessName()
          use getProcessDefinitionName instead 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSchemaExport()
          use DbPersistenceServiceFactory.getJbpmSchema() instead 
org.jbpm.job.executor.JobExecutor.getSize()
          replaced by JobExecutor.getNbrOfThreads() 
org.jbpm.context.exe.VariableContainer.getUpdatedVariableContainers(ProcessInstance)
          call ContextInstance.getUpdatedVariableContainers() instead 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.getUsedFunctionMapper()
          call JbpmExpressionEvaluator.getFunctionMapper() instead 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.getUsedVariableResolver()
          call JbpmExpressionEvaluator.getVariableResolver() instead 
org.jbpm.persistence.PersistenceService.isRollbackOnly()
          call TxService.isRollbackOnly() instead 
org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly()
          use TxService.isRollbackOnly() instead 
org.jbpm.util.ClassLoaderUtil.loadClass(String)
          Use ClassLoaderUtil.classForName(String) instead 
org.jbpm.graph.def.Transition.removeConditionEnforcement()
          call setConditionEnforced(false) instead 
org.jbpm.db.GraphSession.saveProcessInstance(ProcessInstance)
          use JbpmContext.save(ProcessInstance) instead. 
org.jbpm.job.executor.JobExecutorThread.setActive(boolean)
          As of jBPM 3.2.3, replaced by JobExecutorThread.deactivate() 
org.jbpm.job.executor.LockMonitorThread.setActive(boolean)
          As of jBPM 3.2.3, replaced by LockMonitorThread.deactivate() 
org.jbpm.graph.node.StartState.setArrivingTransitions(Map)
          start states do not have arriving transitions 
org.jbpm.JbpmConfiguration.Configs.setDefaultObjectFactory(ObjectFactory)
          call JbpmConfiguration.setDefaultObjectFactory(ObjectFactory) instead 
org.jbpm.graph.node.ProcessState.setDefaultSubProcessResolver(SubProcessResolver)
          set configuration entry jbpm.sub.process.resolver instead 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.setExpressionEvaluator(ExpressionEvaluator)
          set configuration entry jbpm.expression.evaluator instead 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.setFunctionMapper(FunctionMapper)
          set configuration entry jbpm.function.mapper instead 
org.jbpm.job.executor.JobExecutor.setHistoryMaxSize(int)
          property has no effect 
org.jbpm.jpdl.exe.MilestoneInstance.setId(long)
          database identified is not meant to be mutable 
org.jbpm.taskmgmt.exe.TaskInstance.setId(long)
          database identifier is not meant to be mutable 
org.jbpm.instantiation.Delegation.setId(long)
          database identifier is not meant to be mutable 
org.jbpm.job.executor.JobExecutor.setLockBufferTime(int)
          property has no effect 
org.jbpm.job.executor.JobExecutor.setMonitoredJobIds(Map)
          call JobExecutor.addMonitoredJobId(String, long) or JobExecutor.removeMonitoredJobId(String) to manipulate the set of monitored jobs 
org.jbpm.command.ChangeProcessInstanceVersionCommand.setNameMapping(Map)
          use setNodeNameMapping instead 
org.jbpm.command.GetProcessInstancesCommand.setProcessId(long)
            
org.jbpm.command.ChangeProcessInstanceVersionCommand.setProcessId(long)
          use setProcessInstanceId instead 
org.jbpm.command.NewProcessInstanceCommand.setProcessId(long)
          use setProcessDefinitionId instead 
org.jbpm.command.GetProcessInstanceLogCommand.setProcessId(long)
          use setProcessInstanceId instead 
org.jbpm.command.CancelProcessInstanceCommand.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()
          call TxService.setRollbackOnly() instead 
org.jbpm.persistence.db.DbPersistenceService.setRollbackOnly()
          use TxService.setRollbackOnly() instead 
org.jbpm.persistence.PersistenceService.setRollbackOnly(boolean)
          call TxService.setRollbackOnly() instead 
org.jbpm.persistence.db.DbPersistenceService.setRollbackOnly(boolean)
          use TxService.setRollbackOnly() instead 
org.jbpm.persistence.db.DbPersistenceService.setSessionWithoutDisablingTx(Session)
          call setSession(session, true) instead 
org.jbpm.job.executor.JobExecutor.setSize(int)
          replaced by JobExecutor.setNbrOfThreads(int) 
org.jbpm.job.executor.JobExecutor.setStarted(boolean)
          call JobExecutor.start() or JobExecutor.stop() to control this job executor. 
org.jbpm.job.executor.JobExecutor.setThreads(Map)
          this job executor manages its own thread pool 
org.jbpm.instantiation.UserCodeInterceptorConfig.setUserCodeInterceptor(UserCodeInterceptor)
          Use the configuration entry jbpm.user.code.interceptor instead 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.setVariableResolver(VariableResolver)
          set configuration entry jbpm.variable.resolver instead 
org.jbpm.job.executor.JobExecutor.stopThread()
            
 

Deprecated Constructors
org.jbpm.db.ContextSession(JbpmSession)
          use ContextSession.ContextSession(Session) instead 
org.jbpm.graph.def.DelegationException(Throwable, ExecutionContext)
          the given execution context may not be in a consistent state 
org.jbpm.db.GraphSession(JbpmSession)
          use GraphSession.GraphSession(Session) instead 
org.jbpm.job.executor.JobExecutorThread(String, JobExecutor, JbpmConfiguration, int, int, long, int)
          use JobExecutorThread.JobExecutorThread(String, JobExecutor) instead 
org.jbpm.job.executor.LockMonitorThread(JbpmConfiguration, int, int, int)
          As of jBPM 3.2.6, replaced by LockMonitorThread.LockMonitorThread(JobExecutor) 
org.jbpm.db.LoggingSession(JbpmSession)
          use LoggingSession.LoggingSession(Session) instead 
org.jbpm.db.TaskMgmtSession(JbpmSession)
          use TaskMgmtSession.TaskMgmtSession(Session) instead 
 



Copyright © 2010 JBoss Community. All Rights Reserved.