|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.ws.axis.JAxisServiceFactory
public class JAxisServiceFactory
Axis specific JServiceFactory. Create an Axis Service Reference. Used to recreate Axis Service bound in JNDI (ObjectFactory)
Field Summary | |
---|---|
static java.lang.String |
REF_CLIENT_CONFIG
Ref name for client-config wsdd |
static java.lang.String |
REF_SERVICE_CALL_PROPS
Ref name for the service call properties |
static java.lang.String |
REF_SERVICE_PORT2WSDL
Ref name for a Map linking service-endpoint-interface (from port-component) to wsdl:port |
static java.lang.String |
REF_SERVICE_QNAME
Ref name for the service QName |
static java.lang.String |
REF_SERVICE_STUB_PROPS
Ref name for the service call properties |
static java.lang.String |
REF_SERVICE_WSDL
Ref name for the service WSDL URL |
static java.lang.String |
REF_SERVICE_WSDL_PORT_LIST
Ref name for the service port list |
Constructor Summary | |
---|---|
JAxisServiceFactory()
Construct a new JAxisServiceFactory. |
Method Summary | |
---|---|
java.lang.Object |
getObjectInstance(java.lang.Object refObject,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable env)
Create a new instance of Axis Service (or sub classes) from a Reference object. |
javax.naming.Reference |
getServiceReference(ServiceRefDesc sr,
java.lang.ClassLoader cl)
Create a Reference on a Service from an Axis Service object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REF_CLIENT_CONFIG
public static final java.lang.String REF_SERVICE_WSDL
public static final java.lang.String REF_SERVICE_QNAME
public static final java.lang.String REF_SERVICE_PORT2WSDL
public static final java.lang.String REF_SERVICE_CALL_PROPS
public static final java.lang.String REF_SERVICE_STUB_PROPS
public static final java.lang.String REF_SERVICE_WSDL_PORT_LIST
Constructor Detail |
---|
public JAxisServiceFactory()
Method Detail |
---|
public javax.naming.Reference getServiceReference(ServiceRefDesc sr, java.lang.ClassLoader cl) throws WSServiceException
getServiceReference
in interface JServiceFactory
sr
- the service-ref instance where informations are extractedcl
- the classloader where config files can be loaded
WSServiceException
- if wsdd cannot be load or mergedpublic java.lang.Object getObjectInstance(java.lang.Object refObject, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
refObject
- the Reference to create an instance fromname
- Object NamenameCtx
- Contextenv
- the environnment
java.lang.Exception
- when instanciation fail (check if this is a correct
behavior !!!)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |