Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.jndi
Class WLSJNDIEnvironmentImpl

java.lang.Object
  extended by weblogic.jndi.internal.JNDIEnvironment
      extended by weblogic.jndi.WLSJNDIEnvironmentImpl

public class WLSJNDIEnvironmentImpl
extends weblogic.jndi.internal.JNDIEnvironment

Helper for obtaining JNDI platform specific settings.


Constructor Summary
WLSJNDIEnvironmentImpl()
           
 
Method Summary
 void activateTransactionHelper()
           
 Object copyObject(Object obj)
           
 void deactivateTransactionHelper()
           
 AuthenticatedSubject getASFromAU(AuthenticatedUser au)
           
 AuthenticatedSubject getCurrentSubject(AuthenticatedSubject kernelIdentity)
           
 Context getDelegateContext(weblogic.protocol.ServerIdentity hostVM, Environment env, String subCtxName)
           
 ObjectInput getReplacerObjectInputStream(ObjectInput in)
          Only invoked during deserialization of WLContextImpl.
 ObjectOutput getReplacerObjectOutputStream(ObjectOutput out)
          Only invoked during serialization of WLContextImpl.
 weblogic.jndi.internal.SSL.SSLProxy getSSLProxy()
           
 Object iiopReplaceObject(Object object)
           
 Object iiopResolveObject(Object object)
           
 boolean isCorbaObject(Object obj)
           
 boolean isCorbaStub(Object object)
           
 void loadTransportableFactories(List transportableFactories)
          Instantiate the factories specified in the server property and cache them in a list preserving order.
 void nullSSLClientCertificate()
           
 void popSubject(AuthenticatedSubject kernelIdentity)
           
 Environment popThreadEnvironment()
           
 void prepareKernel()
           
 void prepareSubjectManager()
           
 void prepReferenceHelper()
           
 void pushSubject(AuthenticatedSubject kernelIdentity, AuthenticatedSubject userIdentity)
           
 void pushThreadEnvironment(Environment env)
           
 
Methods inherited from class weblogic.jndi.internal.JNDIEnvironment
getJNDIEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSJNDIEnvironmentImpl

public WLSJNDIEnvironmentImpl()
Method Detail

getSSLProxy

public weblogic.jndi.internal.SSL.SSLProxy getSSLProxy()
Specified by:
getSSLProxy in class weblogic.jndi.internal.JNDIEnvironment

isCorbaObject

public boolean isCorbaObject(Object obj)
Specified by:
isCorbaObject in class weblogic.jndi.internal.JNDIEnvironment

copyObject

public Object copyObject(Object obj)
                  throws IOException,
                         ClassNotFoundException
Specified by:
copyObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException
ClassNotFoundException

prepareKernel

public void prepareKernel()
Specified by:
prepareKernel in class weblogic.jndi.internal.JNDIEnvironment

prepReferenceHelper

public void prepReferenceHelper()
Specified by:
prepReferenceHelper in class weblogic.jndi.internal.JNDIEnvironment

nullSSLClientCertificate

public void nullSSLClientCertificate()
Specified by:
nullSSLClientCertificate in class weblogic.jndi.internal.JNDIEnvironment

iiopReplaceObject

public Object iiopReplaceObject(Object object)
                         throws IOException
Specified by:
iiopReplaceObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException

iiopResolveObject

public Object iiopResolveObject(Object object)
                         throws IOException
Specified by:
iiopResolveObject in class weblogic.jndi.internal.JNDIEnvironment
Throws:
IOException

isCorbaStub

public boolean isCorbaStub(Object object)
Specified by:
isCorbaStub in class weblogic.jndi.internal.JNDIEnvironment

loadTransportableFactories

public void loadTransportableFactories(List transportableFactories)
                                throws ConfigurationException
Instantiate the factories specified in the server property and cache them in a list preserving order. Append the builtin factory to the end of the list. This ensures that the factories specified in the props file get a chance to override the builtin.

Specified by:
loadTransportableFactories in class weblogic.jndi.internal.JNDIEnvironment
Throws:
ConfigurationException

getDelegateContext

public Context getDelegateContext(weblogic.protocol.ServerIdentity hostVM,
                                  Environment env,
                                  String subCtxName)
                           throws RemoteException,
                                  NamingException
Specified by:
getDelegateContext in class weblogic.jndi.internal.JNDIEnvironment
Throws:
RemoteException
NamingException

prepareSubjectManager

public void prepareSubjectManager()
Specified by:
prepareSubjectManager in class weblogic.jndi.internal.JNDIEnvironment

activateTransactionHelper

public void activateTransactionHelper()
Specified by:
activateTransactionHelper in class weblogic.jndi.internal.JNDIEnvironment

deactivateTransactionHelper

public void deactivateTransactionHelper()
Specified by:
deactivateTransactionHelper in class weblogic.jndi.internal.JNDIEnvironment

pushThreadEnvironment

public void pushThreadEnvironment(Environment env)
Specified by:
pushThreadEnvironment in class weblogic.jndi.internal.JNDIEnvironment

popThreadEnvironment

public Environment popThreadEnvironment()
Specified by:
popThreadEnvironment in class weblogic.jndi.internal.JNDIEnvironment

pushSubject

public void pushSubject(AuthenticatedSubject kernelIdentity,
                        AuthenticatedSubject userIdentity)
Specified by:
pushSubject in class weblogic.jndi.internal.JNDIEnvironment

popSubject

public void popSubject(AuthenticatedSubject kernelIdentity)
Specified by:
popSubject in class weblogic.jndi.internal.JNDIEnvironment

getCurrentSubject

public AuthenticatedSubject getCurrentSubject(AuthenticatedSubject kernelIdentity)
Specified by:
getCurrentSubject in class weblogic.jndi.internal.JNDIEnvironment

getASFromAU

public AuthenticatedSubject getASFromAU(AuthenticatedUser au)
Specified by:
getASFromAU in class weblogic.jndi.internal.JNDIEnvironment

getReplacerObjectOutputStream

public ObjectOutput getReplacerObjectOutputStream(ObjectOutput out)
                                           throws IOException
Only invoked during serialization of WLContextImpl. This method will return a ReplacerObjectOutputStream since invoked from within WLS. This was introduced for bug7228075 so that wlst3client dependency will not import server side classes.

Specified by:
getReplacerObjectOutputStream in class weblogic.jndi.internal.JNDIEnvironment
Parameters:
out - ObjectOutput instance
Returns:
java.io.ObjectOutput instance
Throws:
IOException

getReplacerObjectInputStream

public ObjectInput getReplacerObjectInputStream(ObjectInput in)
                                         throws IOException
Only invoked during deserialization of WLContextImpl. This method will return a ReplacerObjectInputStream since invoked from within WLS. This was introduced for bug7228075 so that wlst3client dependency will not import server side classes.

Specified by:
getReplacerObjectInputStream in class weblogic.jndi.internal.JNDIEnvironment
Parameters:
in -
Returns:
java.io.ObjectInput instance
Throws:
IOException

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04