001 package org.omg.PortableServer;
002
003 /**
004 * Generated from IDL interface "LifespanPolicy".
005 *
006 * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
007 * @version generated at Nov 6, 2011 12:20:27 AM
008 */
009
010 public final class LifespanPolicyHolder implements org.omg.CORBA.portable.Streamable{
011 public LifespanPolicy value;
012 public LifespanPolicyHolder()
013 {
014 }
015 public LifespanPolicyHolder (final LifespanPolicy initial)
016 {
017 value = initial;
018 }
019 public org.omg.CORBA.TypeCode _type()
020 {
021 return LifespanPolicyHelper.type();
022 }
023 public void _read (final org.omg.CORBA.portable.InputStream in)
024 {
025 value = LifespanPolicyHelper.read (in);
026 }
027 public void _write (final org.omg.CORBA.portable.OutputStream _out)
028 {
029 LifespanPolicyHelper.write (_out,value);
030 }
031 }