servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r486640 - in /incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi: container/SpringJBIContainer.java management/BaseLifeCycle.java
Date Wed, 13 Dec 2006 13:22:20 GMT
Author: gnodet
Date: Wed Dec 13 05:22:20 2006
New Revision: 486640

URL: http://svn.apache.org/viewvc?view=rev&rev=486640
Log:
Hide some properties in the generated xbean schema

Modified:
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SpringJBIContainer.java
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/BaseLifeCycle.java

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SpringJBIContainer.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SpringJBIContainer.java?view=diff&rev=486640&r1=486639&r2=486640
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SpringJBIContainer.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SpringJBIContainer.java
Wed Dec 13 05:22:20 2006
@@ -17,7 +17,6 @@
 package org.apache.servicemix.jbi.container;
 
 import javax.jbi.JBIException;
-import javax.jbi.component.ServiceUnitManager;
 import javax.resource.spi.work.WorkManager;
 
 import org.apache.geronimo.transaction.manager.GeronimoTransactionManager;
@@ -111,6 +110,9 @@
 
     // Properties
     //-------------------------------------------------------------------------
+    /**
+     * @org.apache.xbean.Property hidden="true"
+     */
     public BeanFactory getBeanFactory() {
         return beanFactory;
     }
@@ -127,14 +129,6 @@
         this.componentNames = componentNames;
     }
 
-    public ServiceUnitManager getServiceManager() {
-        return serviceManager;
-    }
-
-    public void setServiceManager(ServiceUnitManager serviceManager) {
-        this.serviceManager = serviceManager;
-    }
-    
     public ActivationSpec[] getActivationSpecs() {
         return activationSpecs;
     }
@@ -162,18 +156,22 @@
         return bean;
     }
 
-	public ApplicationContext getApplicationContext() {
-		return applicationContext;
-	}
-
-	public void setApplicationContext(ApplicationContext applicationContext) {
-		this.applicationContext = applicationContext;
-	}
+    /**
+     * @return
+     * @org.apache.xbean.Property hidden="true"
+     */
+    public ApplicationContext getApplicationContext() {
+        return applicationContext;
+    }
+
+    public void setApplicationContext(ApplicationContext applicationContext) {
+        this.applicationContext = applicationContext;
+    }
 
-	protected WorkManager createWorkManager() throws JBIException {
+    protected WorkManager createWorkManager() throws JBIException {
         WorkManagerFactoryBean factory = new WorkManagerFactoryBean();
         if (getTransactionManager() instanceof GeronimoTransactionManager) {
-        	factory.setTransactionManager((GeronimoTransactionManager) getTransactionManager());
+            factory.setTransactionManager((GeronimoTransactionManager) getTransactionManager());
         }
         try {
             return (WorkManager) factory.getObject();
@@ -181,7 +179,7 @@
         catch (Exception e) {
             throw new JBIException("Failed to start WorkManager: " + e, e);
         }
-	}
+    }
 
     public void destroy() throws Exception {
         super.shutDown();
@@ -195,6 +193,10 @@
         }
     }
 
+    /**
+     * @param lock
+     * @org.apache.xbean.Property hidden="true"
+     */
     public void setShutdownLock(Object lock) {
         this.shutdownLock = lock;
     }

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/BaseLifeCycle.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/BaseLifeCycle.java?view=diff&rev=486640&r1=486639&r2=486640
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/BaseLifeCycle.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/BaseLifeCycle.java
Wed Dec 13 05:22:20 2006
@@ -109,6 +109,7 @@
      * 
      * @return the current state of this managed component (must be one of the string constants
defined by this
      * interface)
+     * @org.apache.xbean.Property hidden="true"
      */
     public String getCurrentState() {
         return currentState;
@@ -199,6 +200,7 @@
     /**
      * Register for propertyChange events
      * @param l
+     * @org.apache.xbean.Property hidden="true"
      */
     public void setPropertyChangeListener(PropertyChangeListener l){
         this.listener = l;



Mime
View raw message