mx4j/src/tools/mx4j/tools/remote/http HTTPConnectionManager.java,1.1,1.2

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/http
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6956/src/tools/mx4j/tools/remote/http

Modified Files:
	HTTPConnectionManager.java 
Log Message:
Passing the environment to the subject invoker, so that it can configure itself

Index: HTTPConnectionManager.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/tools/mx4j/tools/remote/http/HTTPConnectionManager.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HTTPConnectionManager.java	10 Aug 2004 08:42:10 -0000	1.1
--- HTTPConnectionManager.java	27 Aug 2004 21:59:58 -0000	1.2
***************
*** 45,49 ****
        RemoteNotificationServerHandler notificationHandler = new DefaultRemoteNotificationServerHandler(getEnvironment());
        HTTPConnection invoker = new HTTPServerInvoker(mbeanServerConnection, notificationHandler);
!       HTTPConnection subjectInvoker = HTTPSubjectInvoker.newInstance(invoker, subject, getSecurityContext());
        Connection handler = new HTTPConnectionHandler(subjectInvoker, this, connectionId);
        return handler;
--- 45,49 ----
        RemoteNotificationServerHandler notificationHandler = new DefaultRemoteNotificationServerHandler(getEnvironment());
        HTTPConnection invoker = new HTTPServerInvoker(mbeanServerConnection, notificationHandler);
!       HTTPConnection subjectInvoker = HTTPSubjectInvoker.newInstance(invoker, subject, getSecurityContext(), getEnvironment());
        Connection handler = new HTTPConnectionHandler(subjectInvoker, this, connectionId);
        return handler;



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.