org.apache.wsif.naming
Class WSIFServiceObjectFactory

java.lang.Object
  extended byorg.apache.wsif.naming.WSIFServiceObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class WSIFServiceObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

This is an object factory which creates:

Author:
Owen Burroughs

Constructor Summary
WSIFServiceObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context context, java.util.Hashtable env)
          Instantiates and returns a WSIFService based on information from the Reference object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFServiceObjectFactory

public WSIFServiceObjectFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context context,
                                          java.util.Hashtable env)
                                   throws java.lang.Exception
Instantiates and returns a WSIFService based on information from the Reference object.

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Parameters:
obj - The possibly null object containing location or reference information that can be used in creating an object.
name - The name of this object relative to ctx, or null if no name is specified
context - The context relative to which the name parameter is specified, or null if name is relative to the default initial context.
env - The possibly null environment that is used in creating the object.
Returns:
A WSIFService or null if this factory cannot create the type of object required given the information available.
Throws:
java.lang.Exception


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.