Java 类javax.naming.spi.ObjectFactoryBuilder 实例源码

项目:cn1    文件:NamingManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetInitialContextFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = NamingManagerTest.MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}
项目:cn1    文件:DirectoryManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetObjectFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
    // NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}
项目:freeVM    文件:NamingManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetInitialContextFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = NamingManagerTest.MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}
项目:freeVM    文件:DirectoryManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetObjectFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
    // NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}
项目:freeVM    文件:NamingManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetInitialContextFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = NamingManagerTest.MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}
项目:freeVM    文件:DirectoryManagerBuilderTest.java   
/**
 * Set the object factory builder to a mock instance.
 * 
 */
public void myTestSetObjectFactoryBuilder_SetNormal()
        throws NamingException {
    log.setMethod("myTestSetObjectFactoryBuilder_SetNormal");
    ObjectFactoryBuilder objectFactoryBuilder = MockObjectFactoryBuilder
            .getInstance();
    NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
    // NamingManager.setObjectFactoryBuilder(objectFactoryBuilder);
}