Class LifetimePolicyFactory

java.lang.Object
com.swiftmq.amqp.v100.generated.messaging.addressing.LifetimePolicyFactory

public class LifetimePolicyFactory extends Object
Factory class to create LifetimePolicyIF objects out of a bare AMQPType
Version:
AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
Author:
IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
  • Constructor Details

    • LifetimePolicyFactory

      public LifetimePolicyFactory()
  • Method Details

    • create

      public static LifetimePolicyIF create(AMQPType bare) throws Exception
      Creates a LifetimePolicyIF object.
      Parameters:
      bare - the bare AMQP type
      Returns:
      LifetimePolicyIF
      Throws:
      Exception
    • toNativeArray

      public static LifetimePolicyIF[] toNativeArray(AMQPArray array) throws Exception
      Converts an AMQP array of type LifetimePolicyIF into a native array
      Parameters:
      array - AMQP array
      Returns:
      native array
      Throws:
      Exception