public final class NativeServiceObjectFactoryJAXRPC extends Object implements ObjectFactory
Constructor and Description |
---|
NativeServiceObjectFactoryJAXRPC() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
Creates an object using the location or reference information specified.
|
protected void |
narrowPortSelection(org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData serviceRef,
ServiceMetaData serviceMetaData)
Narrow available endpoints by
|
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
getObjectInstance
in interface ObjectFactory
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 nameCtx
,
or null if no name is specified.nameCtx
- The context relative to which the name
parameter is specified, or null if name
is
relative to the default initial context.environment
- The possibly null environment that is used in
creating the object.Exception
- if this object factory encountered an exception
while attempting to create an object, and no other object factories are
to be tried.NamingManager.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>)
,
NamingManager.getURLContext(java.lang.String, java.util.Hashtable<?, ?>)
protected void narrowPortSelection(org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData serviceRef, ServiceMetaData serviceMetaData)
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.