Examples of define()


Examples of org.nutz.aop.asm.AsmClassAgent.define()

      return Mirror.me(type);
    ClassAgent agent = new AsmClassAgent();
    for (InterceptorPair interceptorPair : interceptorPairs)
      agent.addInterceptorinterceptorPair.getMethodMatcher(),
                  interceptorPair.getMethodInterceptor());
    return Mirror.me(agent.define(cd, type));
  }

  public void setAopConfigration(AopConfigration aopConfigration) {
    this.aopConfigration = aopConfigration;
  }
View Full Code Here

Examples of org.objectweb.medor.query.jorm.lib.QueryBuilder.define()

        if (iv.nameType == MEMBEROF) {
            //a.b.cs.contains(x)  ==> a.b.PNAME IN cs.id
            String rest = mergePath(iv.name, 1, iv.name.length - 1);
            theqb = new QueryBuilder(qb);
            try {
                theqb.define("", qb.navigate(iv.name[0]));
            } catch (MedorException e) {
                throw new SpeedoException(e);
            }
        }
View Full Code Here

Examples of org.pentaho.platform.engine.core.system.boot.PentahoSystemBoot.define()

  @Test
  public void testBootListeners() throws Exception {
    PentahoSystemBoot boot = new PentahoSystemBoot();
    boot.setFilePath( "test-src/solution" );
    boot.define( ISolutionEngine.class.getSimpleName(), Object1.class.getName(),
      IPentahoDefinableObjectFactory.Scope.GLOBAL );

    TestLifecycleListener lifecycleListener1 = new TestLifecycleListener();
    TestLifecycleListener lifecycleListener2 = new TestLifecycleListener();
    boot.addLifecycleListener( lifecycleListener1 );
View Full Code Here

Examples of org.pentaho.test.platform.engine.core.MicroPlatform.define()

public class DefaultPluginPerspectiveManagerTest {

  @Before
  public void init0() {
    MicroPlatform microPlatform = new MicroPlatform( "test-res/PluginManagerTest" );
    microPlatform.define( IPluginPerspectiveManager.class, DefaultPluginPerspectiveManager.class );
  }

  private IPluginPerspective createTestPerspective( final String id, final String title ) {
    IPluginPerspective perspective = new DefaultPluginPerspective();
    perspective.setId( id );
View Full Code Here

Examples of org.rioproject.system.capability.PlatformCapability.define()

                            /*if (!OperatingSystemType.isWindows()) {
                                name = fileName.substring(3, index);
                            } else {*/
                            name = fileName.substring(0, index);
                            //}
                            nLib.define(NativeLibrarySupport.NAME, name);
                            nLib.define(NativeLibrarySupport.FILENAME, fileName);
                            nLib.setPath(dir.getCanonicalPath());
                            platforms.add(nLib);
                        } else {
                            logger.warn("Illegal Shared Library name="+fileName);
View Full Code Here

Examples of org.skife.jdbi.v2.DBI.define()

        if (statementLocator != null) {
            dbi.setStatementLocator(statementLocator);
        }

        for (Map.Entry<String, Object> entry : globalDefines.entrySet()) {
            dbi.define(entry.getKey(), entry.getValue());
        }

        return dbi;
    }
View Full Code Here

Examples of se.llbit.j99.pp.PP.define()

        throw new Error("Could not load OpenCL kernel!");
      }
      ByteArrayOutputStream out = new ByteArrayOutputStream();

      PP pp = new PP();
      pp.define("AMBIENT_OCCLUSION", "AMBIENT_OCCLUSION");
      //pp.define("RNGTEST", "RNGTEST");
      if (pp.preprocess(resourceName, basePath, in, out, System.err)) {
        String kernel = new String(out.toByteArray());
        return kernel;
      }
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.