Package com.sun.ts.lib.deliverable.cts.resource

# Class DogFactory

java.lang.Object
com.sun.ts.lib.deliverable.cts.resource.DogFactory

All Implemented Interfaces:
  `ObjectFactory`

public class DogFactory extends Object implements ObjectFactory
A simple factory class for creating custom JNDI resource of type com.sun.ts.lib.deliverable.cts.resource.Dog

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DogFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DogFactory

    public DogFactory()

- ## Method Details

  - ### getObjectInstance

    public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment) throws Exception
    Specified by:
      `getObjectInstance` in interface `ObjectFactory`
    Throws:
      `Exception`