Ejemplo n.º 1
0
        public void DisposeContainer()
        {
            servicelocator.Release(_organisationService);
            _organisationService = null;

            _container.Dispose();
            _container = null;
        }
Ejemplo n.º 2
0
        public void SetContainer()
        {
            //configure the container
            _container = new NetBpmContainer(new XmlInterpreter("WindsorConfig.xml"));
            servicelocator = ServiceLocator.Instance;
            _organisationService = servicelocator.GetService(typeof(IOrganisationService)) as IOrganisationService;

        }
Ejemplo n.º 3
0
 public void SetContainer()
 {
     //configure the container
     _container = new NetBpmContainer(new XmlInterpreter("WindsorConfig.xml"));
     servicelocator = ServiceLocator.Instance;
     processDefinitionService = servicelocator.GetService(typeof(IProcessDefinitionService)) as IProcessDefinitionService;
     executionComponent = servicelocator.GetService(typeof(IExecutionApplicationService)) as IExecutionApplicationService;
 }
Ejemplo n.º 4
0
 public NetBpmContainer(XmlInterpreter interpreter) : base(interpreter)
 {
     Init();
     if (instance != null)
     {
         log.Warn("another NebBpm container is created");
     }
     instance = this;
 }
Ejemplo n.º 5
0
		public NetBpmContainer(XmlInterpreter interpreter) : base(interpreter)
		{
			Init();
			if (instance != null)
			{
				log.Warn("another NebBpm container is created");
			}
			instance = this;
		}
Ejemplo n.º 6
0
        public void DisposeContainer()
        {
            servicelocator.Release(definitionComponent);
            definitionComponent = null;
            servicelocator.Release(executionComponent);
            executionComponent = null;

            _container.Dispose();
            _container = null;
        }
Ejemplo n.º 7
0
 public override void Dispose()
 {
     base.Dispose();
     instance = null;
 }
Ejemplo n.º 8
0
		public override void Dispose()
		{
			base.Dispose();	
			instance=null;
		}