From: Scott M S. <st...@us...> - 2004-08-10 23:54:24
|
User: starksm Date: 04/08/10 16:54:17 Modified: iiop/src/main/org/jboss/invocation/iiop IIOPInvoker.java Log: Move the bulk of the createService method to startService Revision Changes Path 1.4 +6 -7 contrib/iiop/src/main/org/jboss/invocation/iiop/IIOPInvoker.java Index: IIOPInvoker.java =================================================================== RCS file: /cvsroot/jboss/contrib/iiop/src/main/org/jboss/invocation/iiop/IIOPInvoker.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- IIOPInvoker.java 27 Aug 2003 04:29:51 -0000 1.3 +++ IIOPInvoker.java 10 Aug 2004 23:54:17 -0000 1.4 @@ -60,7 +60,7 @@ * to the JBoss MBean server any invocations they receive. * * @author <a href="mailto:rev...@im...">Francisco Reverbel</a> - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class IIOPInvoker extends ServiceMBeanSupport @@ -121,8 +121,12 @@ transientServantMap = Collections.synchronizedMap(new HashMap()); persistentServantMap = Collections.synchronizedMap(new HashMap()); transientPoaMap = Collections.synchronizedMap(new HashMap()); - persistentPoaMap = Collections.synchronizedMap(new HashMap()); + persistentPoaMap = Collections.synchronizedMap(new HashMap()); + } + public void startService() + throws Exception + { // Get a reference for the root POA try { rootPOA = (POA)new InitialContext().lookup("java:/" @@ -198,12 +202,7 @@ new ServantRegistryWithTransientPOAPerServant(); registryWithPersistentPOAPerServant = new ServantRegistryWithPersistentPOAPerServant(); - - } - public void startService() - throws Exception - { // Export this invoker Registry.bind(getServiceName(), this); |