Package org.jboss.beans.metadata.spi

Examples of org.jboss.beans.metadata.spi.LifecycleMetaData


*/
public class StartStopLifecycleAction extends LifecycleAction
{
   public String getInstallMethod(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getStart();
      if (lifecycle != null)
         return lifecycle.getMethodName();
      return null;
   }
View Full Code Here


      return StartLifecycle.class.getName();
   }

   public List<ParameterMetaData> getInstallParameters(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getStart();
      if (lifecycle != null)
         return lifecycle.getParameters();
      return null;
   }
View Full Code Here

      return null;
   }

   public String getUninstallMethod(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getStop();
      if (lifecycle != null)
         return lifecycle.getMethodName();
      return null;
   }
View Full Code Here

      return StopLifecycle.class.getName();
   }

   public List<ParameterMetaData> getUninstallParameters(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getStop();
      if (lifecycle != null)
         return lifecycle.getParameters();
      return null;
   }
View Full Code Here

*/
public class CreateDestroyLifecycleAction extends LifecycleAction
{
   public String getInstallMethod(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getCreate();
      if (lifecycle != null)
         return lifecycle.getMethodName();
      return null;
   }
View Full Code Here

      return CreateLifecycle.class.getName();
   }

   public List<ParameterMetaData> getInstallParameters(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getCreate();
      if (lifecycle != null)
         return lifecycle.getParameters();
      return null;
   }
View Full Code Here

      return null;
   }

   public String getUninstallMethod(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getDestroy();
      if (lifecycle != null)
         return lifecycle.getMethodName();
      return null;
   }
View Full Code Here

      return DestroyLifecycle.class.getName();
   }

   public List<ParameterMetaData> getUninstallParameters(BeanMetaData beanMetaData)
   {
      LifecycleMetaData lifecycle = beanMetaData.getDestroy();
      if (lifecycle != null)
         return lifecycle.getParameters();
      return null;
   }
View Full Code Here

      builder = new ParameterMetaDataBuilderImpl<AbstractLifecycleMetaData>(lifecycle);
   }

   protected void checkLlifecycle()
   {
      LifecycleMetaData lifecycle = getLifecycle(beanMetaData);
      if (lifecycle == null)
      {
         createLifecycleMetaData(null);
      }
   }
View Full Code Here

   /**
    * Check lifecycle.
    */
   protected void checkLlifecycle()
   {
      LifecycleMetaData lifecycle = getLifecycle(beanMetaData);
      if (lifecycle == null)
      {
         createStateActionMetaData(null);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.beans.metadata.spi.LifecycleMetaData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.