Package org.glite.lb

Examples of org.glite.lb.EventRegJob


                }
            }

           // ctxd.setSource(new Sources(Sources.CREAM_EXECUTOR));

            EventRegJob reg = new EventRegJob();
            reg.setNs(job.getCreamURL());
            reg.setJobtype(EventRegJob.Jobtype.CREAM);

            //ctxd.log(reg);

            ContextIL ctx = new ContextIL(ILPrefix);
            ctx.setJobid(lbjob);

            if (job.getSequenceCode() == null) {
                ctx.setSeqCode(new SeqCode(SeqCode.CREAM, "no_seqcodes_with_cream_register_cheat"));
            } else {
                ctx.setSeqCode(new SeqCode(SeqCode.CREAM, job.getSequenceCode()));
            }

            ctx.setSource(new Sources(Sources.CREAM_EXECUTOR));
            ctx.setUser(job.getExtraAttribute("USER_DN_X500"));

            //ctx.setUser(ctxd.getUser());
            reg.setJdl(job.getJDL());

            ctx.log(reg);
        } else {
            throw new LBException("LBLogger.register(): grid jobid set, not registering in LB");
        }
View Full Code Here

TOP

Related Classes of org.glite.lb.EventRegJob

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.