当前位置: 首页>>代码示例>>Java>>正文


Java SerializationInl.serializeObject方法代码示例

本文整理汇总了Java中com.vangav.backend.content.formatting.SerializationInl.serializeObject方法的典型用法代码示例。如果您正苦于以下问题:Java SerializationInl.serializeObject方法的具体用法?Java SerializationInl.serializeObject怎么用?Java SerializationInl.serializeObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.vangav.backend.content.formatting.SerializationInl的用法示例。


在下文中一共展示了SerializationInl.serializeObject方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: JavaEmailDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor JavaEmailDispatchable
 * initializes through serializing a JavaEmail Object
 * @param javaEmail
 * @return new JavaEmailDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public JavaEmailDispatchable (
  JavaEmail javaEmail) throws Exception {
  
  this.type = "java_email";
  
  this.serialized_message =
    SerializationInl.serializeObject(javaEmail);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:17,代码来源:JavaEmailDispatchable.java

示例2: MailGunEmailDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor MailGunEmailDispatchable
 * initializes through serializing a MailGunEmail Object
 * @param mailGunEmail
 * @return new MailGunEmailDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public MailGunEmailDispatchable (
  MailGunEmail mailGunEmail) throws Exception {
  
  this.type = "mail_gun_email";
  
  this.serialized_message =
    SerializationInl.serializeObject(mailGunEmail);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:17,代码来源:MailGunEmailDispatchable.java

示例3: TwilioMmsDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor TwilioMmsDispatchable
 * initializes through serializing a TwilioMms Object
 * @param twilioMms
 * @return new TwilioMmsDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public TwilioMmsDispatchable (TwilioMms twilioMms) throws Exception {
  
  this.type = "twilio_mms";
  
  this.serialized_message =
    SerializationInl.serializeObject(twilioMms);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:16,代码来源:TwilioMmsDispatchable.java

示例4: TwilioSmsDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor TwilioSmsDispatchable
 * initializes through serializing a TwilioSms Object
 * @param twilioSms
 * @return new TwilioSmsDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public TwilioSmsDispatchable (TwilioSms twilioSms) throws Exception {
  
  this.type = "twilio_sms";
  
  this.serialized_message =
    SerializationInl.serializeObject(twilioSms);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:16,代码来源:TwilioSmsDispatchable.java

示例5: QueryDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor QueryDispatchable
 * initializes through serializing a Query
 * @param query
 * @return new QueryDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public QueryDispatchable (Query query) throws Exception {
  
  this.type = "cassandra_query";

  this.serialized_message =
    SerializationInl.serializeObject(new WorkerQuery(query) );
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:16,代码来源:QueryDispatchable.java

示例6: AppleNotificationDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor AppleNotificationDispatchable
 * initializes through serializing an AppleNotification
 * @param appleNotification
 * @return new AppleNotificationDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public AppleNotificationDispatchable (
  AppleNotification appleNotification) throws Exception {
  
  this.type = "apple_notification";
  
  this.serialized_message =
    SerializationInl.serializeObject(appleNotification);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:17,代码来源:AppleNotificationDispatchable.java

示例7: AndroidNotificationDispatchable

import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
 * Constructor AndroidNotificationDispatchable
 * initialized through serializing an AndroidNotification
 * @param androidNotification
 * @return new AndroidNotificationDispatchable Object
 * @throws Exception
 */
@JsonIgnore
public AndroidNotificationDispatchable (
  AndroidNotification androidNotification) throws Exception {
  
  this.type = "android_notification";
  
  this.serialized_message =
    SerializationInl.serializeObject(androidNotification);
}
 
开发者ID:vangav,项目名称:vos_backend,代码行数:17,代码来源:AndroidNotificationDispatchable.java


注:本文中的com.vangav.backend.content.formatting.SerializationInl.serializeObject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。