|
|||||||||
| Home >> All >> [ jndi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jndi
Class WSIFJndiHelper

java.lang.Objectjndi.WSIFJndiHelper
- public class WSIFJndiHelper
- extends java.lang.Object
A JNDI helper class for binding and unbinding services and stubs
| Field Summary | |
private static javax.naming.Context |
ctx
|
| Constructor Summary | |
WSIFJndiHelper()
|
|
| Method Summary | |
static void |
bindService(java.lang.String wsdl,
java.lang.String sNS,
java.lang.String sName,
java.lang.String ptNS,
java.lang.String ptName,
java.lang.String jndiName)
Given the elements of a WSIFServiceRef, create and bind the service using JNDI under the specified name. |
static void |
bindService(org.apache.wsif.naming.WSIFServiceRef ref,
java.lang.String jndiName)
Given a WSIFServiceRef, create and bind the service using JNDI under the specified name. |
static void |
bindStub(java.lang.String wsdl,
java.lang.String sNS,
java.lang.String sName,
java.lang.String ptNS,
java.lang.String ptName,
java.lang.String portName,
java.lang.String cls,
java.lang.String jndiName)
Given the elements of a WSIFServiceStubRef, create and bind the stub using JNDI under the specified name. |
static void |
bindStub(org.apache.wsif.naming.WSIFServiceStubRef ref,
java.lang.String jndiName)
Given a WSIFServiceStubRef, create and bind the stub using JNDI under the specified name. |
static javax.naming.Context |
getInitialContext()
Gets the current InitialContext |
private static java.lang.String[] |
parseString(java.lang.String s)
|
static void |
recursiveBind(java.lang.String name,
java.lang.Object obj)
A helper method to recursively bind an object using JNDI. |
static void |
recursiveUnbind(java.lang.String name)
A helper method to unbind an object using JNDI. |
static void |
setInitialContext(javax.naming.Context c)
Sets the InitialContext to be used |
static void |
unbindServiceOrStub(java.lang.String name)
A helper method to unbind a service or stub using JNDI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
ctx
private static javax.naming.Context ctx
| Constructor Detail |
WSIFJndiHelper
public WSIFJndiHelper()
| Method Detail |
bindService
public static void bindService(java.lang.String wsdl, java.lang.String sNS, java.lang.String sName, java.lang.String ptNS, java.lang.String ptName, java.lang.String jndiName) throws javax.naming.NamingException
- Given the elements of a WSIFServiceRef, create and bind the
service using JNDI under the specified name.
bindService
public static void bindService(org.apache.wsif.naming.WSIFServiceRef ref, java.lang.String jndiName) throws javax.naming.NamingException
- Given a WSIFServiceRef, create and bind the
service using JNDI under the specified name.
bindStub
public static void bindStub(java.lang.String wsdl, java.lang.String sNS, java.lang.String sName, java.lang.String ptNS, java.lang.String ptName, java.lang.String portName, java.lang.String cls, java.lang.String jndiName) throws javax.naming.NamingException
- Given the elements of a WSIFServiceStubRef, create and bind the
stub using JNDI under the specified name.
bindStub
public static void bindStub(org.apache.wsif.naming.WSIFServiceStubRef ref, java.lang.String jndiName) throws javax.naming.NamingException
- Given a WSIFServiceStubRef, create and bind the
stub using JNDI under the specified name.
unbindServiceOrStub
public static void unbindServiceOrStub(java.lang.String name) throws javax.naming.NamingException
- A helper method to unbind a service or stub using JNDI. Any subcontexts left
empty by the unbinding will be destoyed.
recursiveBind
public static void recursiveBind(java.lang.String name, java.lang.Object obj) throws javax.naming.NamingException
- A helper method to recursively bind an object using JNDI. Any subcontexts
required that do not currently exist will be created.
recursiveUnbind
public static void recursiveUnbind(java.lang.String name) throws javax.naming.NamingException
- A helper method to unbind an object using JNDI. Any subcontexts left
empty by the unbinding will be destoyed.
parseString
private static java.lang.String[] parseString(java.lang.String s)
getInitialContext
public static javax.naming.Context getInitialContext() throws javax.naming.NamingException
- Gets the current InitialContext
setInitialContext
public static void setInitialContext(javax.naming.Context c)
- Sets the InitialContext to be used
|
|||||||||
| Home >> All >> [ jndi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jndi.WSIFJndiHelper