org.apache.jetspeed.components.jndi
Class TyrexJNDIComponent

java.lang.Object
  extended by org.apache.jetspeed.components.jndi.TyrexJNDIComponent
All Implemented Interfaces:
JNDIComponent

public class TyrexJNDIComponent
extends Object
implements JNDIComponent

TyrexJNDIComponent

Version:
$Id: TyrexJNDIComponent.java 516881 2007-03-11 10:34:21Z ate $
Author:
Scott T. Weaver

Field Summary
private static org.apache.commons.logging.Log log
           
private  tyrex.naming.MemoryContext rootJNDIContext
           
 
Constructor Summary
TyrexJNDIComponent()
           
 
Method Summary
 void bindObject(String bindToName, Object obj)
           bindObject
 void bindToCurrentThread()
           
 Context getRootContext()
           
 void unbindFromCurrentThread()
           unbindFromCurrentThread
 void unbindObject(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

rootJNDIContext

private tyrex.naming.MemoryContext rootJNDIContext
Constructor Detail

TyrexJNDIComponent

public TyrexJNDIComponent()
                   throws NamingException
Throws:
NamingException
See Also:
org.apache.fulcrum.Service#init()
Method Detail

getRootContext

public Context getRootContext()
Specified by:
getRootContext in interface JNDIComponent
See Also:
org.apache.jetspeed.cps.jndi.JNDIService#getRootContext()

bindToCurrentThread

public void bindToCurrentThread()
                         throws NamingException
Specified by:
bindToCurrentThread in interface JNDIComponent
Throws:
NamingException
See Also:
org.apache.jetspeed.cps.jndi.JNDIService#bindToCurrentThread()

bindObject

public void bindObject(String bindToName,
                       Object obj)
                throws NamingException

bindObject

Specified by:
bindObject in interface JNDIComponent
Parameters:
bindToName -
obj -
Throws:
NamingException
See Also:
org.apache.jetspeed.cps.jndi.JNDIComponent#bindObject(java.lang.String, java.lang.Object)

unbindFromCurrentThread

public void unbindFromCurrentThread()
                             throws NamingException

unbindFromCurrentThread

Specified by:
unbindFromCurrentThread in interface JNDIComponent
Throws:
NamingException
See Also:
JNDIComponent.unbindFromCurrentThread()

unbindObject

public void unbindObject(String name)
                  throws NamingException
Specified by:
unbindObject in interface JNDIComponent
Throws:
NamingException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.