| java.lang.Object org.ow2.easybeans.injection.JNDIBinderHelper
JNDIBinderHelper | final public class JNDIBinderHelper (Code) | | Helper class for injecting an object in JNDI (ENC env).
author: Florent Benoit |
Inner Class :public enum JndiType | |
bindEnvJndiName | public static void bindEnvJndiName(String name, Object object)(Code) | | Bind a JNDI name object in java:comp/env/.
Parameters: name - the name of the object to bind. Parameters: object - the value of the object. |
bindLinkRefEnvJndiName | public static void bindLinkRefEnvJndiName(String encName, String jndiName)(Code) | | Bind a JNDI name object in java:comp/env/.
Parameters: encName - the name of the object to bind in enc Parameters: jndiName - the jndi name to link. |
bindLinkRefEnvURL | public static void bindLinkRefEnvURL(String encName, String url)(Code) | | Bind an URL object in java:comp/env.
Parameters: encName - the name of the object to bind in enc Parameters: url - the URL to register in the context |
getContext | public static Context getContext(String name)(Code) | | Gets the context for a given name (java: , java:comp, etc).
Parameters: name - the name of the context to lookup context found or null. |
|
|