public SchedulerMetaData getMetaData() throws SchedulerException { AttributeList attributeList = getAttributes( new String[] { "schedulerName", "schedulerInstanceId", "inStandbyMode", "shutdown", "jobStoreClass", "threadPoolClass", "threadPoolSize", "version" }); return new SchedulerMetaData( (String)attributeList.get(0), (String)attributeList.get(1), getClass(), true, isStarted(), ((Boolean)attributeList.get(2)).booleanValue(), ((Boolean)attributeList.get(3)).booleanValue(), (Date)invoke("runningSince", new Object[] {}, new String[] {}), ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(), (Class)attributeList.get(4), ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(), (Class)attributeList.get(5), ((Integer)attributeList.get(6)).intValue(), (String)attributeList.get(7)); }
public SchedulerMetaData getMetaData() throws SchedulerException { AttributeList attributeList = getAttributes( new String[] { "schedulerName", "schedulerInstanceId", "inStandbyMode", "shutdown", "jobStoreClass", "threadPoolClass", "threadPoolSize", "version" }); return new SchedulerMetaData( (String)attributeList.get(0), (String)attributeList.get(1), getClass(), true, isStarted(), ((Boolean)attributeList.get(2)).booleanValue(), ((Boolean)attributeList.get(3)).booleanValue(), (Date)invoke("runningSince", new Object[] {}, new String[] {}), ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(), (Class)attributeList.get(4), ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(), (Class)attributeList.get(5), ((Integer)attributeList.get(6)).intValue(), (String)attributeList.get(7)); }