Exemplo n.º 1
0
        public virtual ModelNode getModelDescription(Locale locale)
        {
            ModelNode node = new ModelNode();

            node.get(DESCRIPTION).set("Removes a process engine");
            node.get(OPERATION_NAME).set(REMOVE);
            return(node);
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
        protected internal virtual void performRuntime(OperationContext context, ModelNode operation, ModelNode model)
        {
            string      suffix = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).LastElement.Value;
            ServiceName name   = ServiceNames.forManagedProcessEngine(suffix);

            context.removeService(name);
        }
Exemplo n.º 3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
        protected internal virtual void performRuntime(OperationContext context, ModelNode operation, ModelNode model)
        {
            string jobAcquisitionName = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).LastElement.Value;

            context.removeService(ServiceNames.forMscRuntimeContainerJobExecutorService(jobAcquisitionName));
        }