Revision: 15241
Author: [email protected]
Date: Tue Nov 16 06:26:13 2010
Log: [No log message]
http://code.google.com/p/mobicents/source/detail?r=15241

Modified:
/branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/annotations/SipInstanceManager.java /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardEngine.java /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardService.java

=======================================
--- /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/annotations/SipInstanceManager.java Mon Nov 15 12:09:36 2010 +++ /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/annotations/SipInstanceManager.java Tue Nov 16 06:26:13 2010
@@ -11,5 +11,7 @@

public void processAnnotations(Object instance, Map<String, String> injections) throws IllegalAccessException, InvocationTargetException, NamingException;
+
+       public Map<String, String> getInjectionMap(String name);

 }
=======================================
--- /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardEngine.java Mon Nov 15 12:09:36 2010 +++ /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardEngine.java Tue Nov 16 06:26:13 2010
@@ -90,6 +90,7 @@
* since when addChild is called the sip application dispatcher is still null or getService might still return null
         */
        public void startInternal() throws LifecycleException {
+               super.startInternal();
                if(getService() instanceof SipService) {
                        final SipService sipService = (SipService) getService();
SipApplicationDispatcher sipApplicationDispatcher = sipService.getSipApplicationDispatcher();
@@ -105,7 +106,7 @@
                                }
                        }
                }
-               setState(LifecycleState.STARTING);
-               super.startInternal();
+//             setState(LifecycleState.STARTING);
+//             super.startInternal();
        }
 }
=======================================
--- /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardService.java Mon Nov 15 12:09:36 2010 +++ /branches/servers/sip-servlets/2.0/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardService.java Tue Nov 16 06:26:13 2010
@@ -272,7 +272,8 @@
        }

        @Override
-       public void startInternal() throws LifecycleException {
+       public void startInternal() throws LifecycleException {
+               super.startInternal();
                synchronized (connectors) {
                        for (Connector connector : connectors) {
                                final ProtocolHandler protocolHandler = 
connector.getProtocolHandler();
@@ -313,8 +314,8 @@
                if(logger.isInfoEnabled()) {
                        logger.info("SIP Standard Service Started.");
                }
-               setState(LifecycleState.STARTING);
-               super.startInternal();
+//             setState(LifecycleState.STARTING);
+//             super.startInternal();
        }

        public String getJvmRoute() {

Reply via email to