org.apache.wsif.naming
Class WSIFServiceObjectFactory
java.lang.Object
|
+--org.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:
- instances of WSIFService from a javax.naming.Reference object
representing the service.
- instances of a service stub object from a javax.naming.Reference object
representing the service .
- Author:
- Owen Burroughs
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 |
WSIFServiceObjectFactory
public WSIFServiceObjectFactory()
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 specifiedcontext
- 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.
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.