Package com.ibm.xmlns.stdwip.webServices.wsResourceLifetime.SetTerminationTimeDocument

Examples of com.ibm.xmlns.stdwip.webServices.wsResourceLifetime.SetTerminationTimeDocument.SetTerminationTime


                                                             {
                                                                Calendar.class
                                                             } );
      }

      SetTerminationTime termTime = SetTerminationTime.Factory.newInstance(  );

      // Make sure we destroy it after setting the resource property in case the subclass wants the
      // correct value in an overriden destroy method.
      boolean destroyIt = false;

      // Nil means no termination time.
      if ( newTime == null )
      {
         termTime.setNilRequestedTerminationTime(  );
      }
      else
      {
         // If newTime is in the past destroy immediately.
         if ( newTime.before( Calendar.getInstance(  ) ) )
         {
            destroyIt = true;
         }

         termTime.setRequestedTerminationTime( newTime );
      }

      m_setTerminationTimeMethod.invoke( getPropertiesXmlBean(  ),
                                         new Object[]
                                         {
                                            termTime.getRequestedTerminationTime(  )
                                         } );

      if ( destroyIt )
      {
         destroy(  );
View Full Code Here

TOP

Related Classes of com.ibm.xmlns.stdwip.webServices.wsResourceLifetime.SetTerminationTimeDocument.SetTerminationTime

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.