Ejemplo n.º 1
0
  private String getClasspath() throws StandardException {

    ClassFactoryContext cfc =
        (ClassFactoryContext) ContextService.getContextOrNull(ClassFactoryContext.CONTEXT_ID);

    PersistentSet ps = cfc.getPersistentSet();

    String classpath = PropertyUtil.getServiceProperty(ps, Property.DATABASE_CLASSPATH);

    //
    // In per database mode we must always have a classpath. If we do not
    // yet have one we make one up.
    if (classpath == null) classpath = "";

    return classpath;
  }