Example usage for javax.naming.spi ObjectFactory interface-usage

List of usage examples for javax.naming.spi ObjectFactory interface-usage

Introduction

In this page you can find the example usage for javax.naming.spi ObjectFactory interface-usage.

Usage

From source file Bind.java

/**
 * This is an object factory that when given a reference for a Fruit object,
 * will create an instance of the corresponding Fruit.
 */
class FruitFactory implements ObjectFactory {