Examples of WorkManagerImpl


Examples of com.sun.enterprise.jbi.serviceengine.work.WorkManagerImpl

    }
   
    public void initialize() throws ServiceEngineException {
        endpointRegistry = EndpointRegistry.getInstance();
        config = new ComponentConfiguration();
        workManager = new WorkManagerImpl(config);
        bridge = config.getBridge();
        bridge.initialize();
    }
View Full Code Here

Examples of org.jboss.jca.common.metadata.common.v11.WorkManagerImpl

      }
     
      WorkManagerSecurityImpl wmsImpl = new WorkManagerSecurityImpl(mappingRequired, "FIXME", defaultPrincipal,
         defaultGroups, userMappings, groupMappings);
     
      lcf.buildWorkManager(new WorkManagerImpl(wmsImpl));
   }
View Full Code Here

Examples of org.jboss.jca.common.metadata.resourceadapter.WorkManagerImpl

      }
     
      WorkManagerSecurityImpl wmsImpl = new WorkManagerSecurityImpl(mappingRequired, "FIXME", defaultPrincipal,
         defaultGroups, userMappings, groupMappings);
     
      lcf.buildWorkManager(new WorkManagerImpl(wmsImpl));
   }
View Full Code Here

Examples of org.jboss.jca.common.metadata.resourceadapter.WorkManagerImpl

            final String domain = ModelNodeUtil.getResolvedStringIfSetOrGetDefault(context, operation, WM_SECURITY_DOMAIN);
            final String defaultPrincipal = ModelNodeUtil.getResolvedStringIfSetOrGetDefault(context, operation, WM_SECURITY_DEFAULT_PRINCIPAL);
            final List<String> defaultGroups = WM_SECURITY_DEFAULT_GROUPS.unwrap(context, operation);
            final Map<String, String> groups = ModelNodeUtil.extractMap(operation, WM_SECURITY_MAPPING_GROUPS, WM_SECURITY_MAPPING_FROM, WM_SECURITY_MAPPING_TO);
            final Map<String, String> users = ModelNodeUtil.extractMap(operation, WM_SECURITY_MAPPING_USERS, WM_SECURITY_MAPPING_FROM, WM_SECURITY_MAPPING_TO);
            workManager = new WorkManagerImpl(new WorkManagerSecurityImpl(mappingRequired, domain, defaultPrincipal, defaultGroups, users, groups));
        }

        ModifiableResourceAdapter ra;
        ra = new ModifiableResourceAdapter(id, archiveOrModule, transactionSupport, connectionDefinitions,
                adminObjects, configProperties, beanValidationGroups, bootstrapContext, workManager);
View Full Code Here

Examples of org.jboss.jca.common.metadata.resourceadapter.WorkManagerImpl

        while (reader.hasNext()) {
            switch (reader.nextTag()) {
                case END_ELEMENT: {
                    if (Activation.Tag.forName(reader.getLocalName()) == Activation.Tag.WORKMANAGER) {
                        return new WorkManagerImpl(security);
                    } else {
                        if (Activation.Tag.forName(reader.getLocalName()) == Activation.Tag.UNKNOWN) {
                            throw new ParserException(bundle.unexpectedEndTag(reader.getLocalName()));
                        }
                    }
View Full Code Here

Examples of org.jboss.jca.common.metadata.resourceadapter.WorkManagerImpl

         switch (reader.nextTag())
         {
            case END_ELEMENT : {
               if (Activation.Tag.forName(reader.getLocalName()) == Activation.Tag.WORKMANAGER)
               {
                  return new WorkManagerImpl(security);
               }
               else
               {
                  if (Activation.Tag.forName(reader.getLocalName()) == Activation.Tag.UNKNOWN)
                  {
View Full Code Here

Examples of org.jboss.jca.core.workmanager.WorkManagerImpl

                .addDependency(ConnectorServices.TRANSACTION_INTEGRATION_SERVICE, TransactionIntegration.class,
                        ccmService.getTransactionIntegrationInjector())
                .addListener(verificationHandler)
                .install());

        WorkManager wm = new WorkManagerImpl();

        final WorkManagerService wmService = new WorkManagerService(wm);
        newControllers.add(serviceTarget
                .addService(ConnectorServices.WORKMANAGER_SERVICE, wmService)
                .addDependency(ThreadsServices.EXECUTOR.append(SHORT_RUNNING_THREADS), Executor.class, wmService.getExecutorShortInjector())
View Full Code Here

Examples of org.jboss.jca.core.workmanager.WorkManagerImpl

        if (context instanceof BootOperationContext) {
            final BootOperationContext bootContext = BootOperationContext.class.cast(context);
            context.getRuntimeContext().setRuntimeTask(new RuntimeTask() {
                public void execute(RuntimeTaskContext context) throws OperationFailedException {
                    ServiceTarget serviceTarget = context.getServiceTarget();
                    WorkManager wm = new WorkManagerImpl();

                    final WorkManagerService wmService = new WorkManagerService(wm);
                    serviceTarget
                            .addService(ConnectorServices.WORKMANAGER_SERVICE, wmService)
                            .addDependency(ThreadsServices.EXECUTOR.append(shortRunningThreadPool), Executor.class,
View Full Code Here

Examples of org.jboss.jca.core.workmanager.WorkManagerImpl

                            .addDependency(TxnServices.JBOSS_TXN_ARJUNA_RECOVERY_MANAGER, XAResourceRecoveryRegistry.class,
                                    tiService.getRrInjector())

                            .addDependency(TxnServices.JBOSS_TXN_TRANSACTION_MANAGER, TransactionLocalDelegate.class,
                                    tiService.getTldInjector()).setInitialMode(Mode.ACTIVE).install();
                    WorkManager wm = new WorkManagerImpl();

                    final WorkManagerService wmService = new WorkManagerService(wm);
                    serviceTarget
                            .addService(ConnectorServices.WORKMANAGER_SERVICE, wmService)
                            .addDependency(ThreadsServices.EXECUTOR.append(shortRunningThreadPool), Executor.class,
View Full Code Here

Examples of org.jboss.jca.core.workmanager.WorkManagerImpl

            public BatchBuilder getBatchBuilder() {
                return builder;
            }
        });

        WorkManager wm = new WorkManagerImpl();

        final WorkManagerService wmService = new WorkManagerService(wm);
        final BatchServiceBuilder<WorkManager> wmServiceBuilder = builder.addService(ConnectorServices.WORKMANAGER_SERVICE,
                wmService);
        wmServiceBuilder.addDependency(ThreadsServices.EXECUTOR.append(shortRunningThreadPool), Executor.class,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.