Package com.sun.enterprise.admin.event

Examples of com.sun.enterprise.admin.event.AdminCommandEventBrokerImpl


            this.inbound = context.getInboundPayload();
            this.outbound = context.getOutboundPayload();
            this.scope = job.getScope();
            this.name = job.getName();
            if (eventBroker == null) {
                eventBroker = job.getEventBroker() == null ? new AdminCommandEventBrokerImpl() : job.getEventBroker();
            }
            ((AdminCommandInstanceImpl) job).setEventBroker(eventBroker);
            ((AdminCommandInstanceImpl) job).setState(revert ? AdminCommandState.State.REVERTING : AdminCommandState.State.RUNNING_RETRYABLE);
            JobManager jobManager = habitat.getService(JobManagerService.class);
            jobManager.registerJob(job);
View Full Code Here


   
    private boolean failToRetryable;

    protected AdminCommandInstanceImpl(String id, String name, String commandScope, Subject sub, boolean managedJob, ParameterMap parameters) {
        super(id);
        this.broker = new AdminCommandEventBrokerImpl();
        this.executionDate = new Date().getTime();
        this.commandName = name;
        this.scope= commandScope;
        isManagedJob = managedJob;
        this.subjectUsernames = SubjectUtil.getUsernamesFromSubject(sub);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.event.AdminCommandEventBrokerImpl

Copyright © 2018 www.massapicom. 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.