ÇÁ·ÎÅäÄÝ Çڵ鷯 ÇÁ·¹ÀÓ¿öÅ© ¸Þ¼Òµå

´ÙÀ½ Àý¿¡¼­´Â »õ ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ ¼³°èÇϰųª ±âÁ¸ÀÇ ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ ¼öÁ¤ÇÒ ¶§ »ç¿ëÇÏ´Â ÇÁ·ÎÅäÄÝ Çڵ鷯 ÇÁ·¹ÀÓ¿öÅ© ¸Þ¼Òµå¿¡ ´ëÇØ ¼³¸íÇÕ´Ï´Ù.

getContent ()

getContent() ¸Þ¼Òµå´Â Business Object 󸮿¡ »ç¿ëµË´Ï´Ù. ´ÙÀ½À» ¼öÇàÇÕ´Ï´Ù.

±¸¹®

public abstract Object getContent (Object input, String mimeType, 
 String BOprefix) throws IOException
 

¸Å°³º¯¼ö

input
Business Object ÀÎÅÍÆäÀ̽º(Àü¼ÛÇÒ Business Object)¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

mimeType
Data Handler¿¡ Àü´ÞÇÏ´Â µ¥ÀÌÅÍÀÇ MIME À¯ÇüÀ» ÁöÁ¤ÇÕ´Ï´Ù.

BOprefix
Data Handler¿¡ Àü´ÞÇÏ´Â µ¥ÀÌÅÍÀÇ BOPrefix À¯ÇüÀ» ÁöÁ¤ÇÕ´Ï´Ù.

¸®Åϰª

Business Object ÀÎÅÍÆäÀ̽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.

WebSphere Business Integration Adapter¿¡¼­ Á¦°øÇÏ´Â ÇÁ·ÎÅäÄÝ Çڵ鷯 È£Ãâ

´ÙÀ½ÀÇ ÄÚµå ¿¹´Â WebSphere Business Integration Adapter¿¡¼­ Á¦°øÇÏ´Â ÇÁ·ÎÅäÄÝ Çڵ鷯¸¦ È£ÃâÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÝ´Ï´Ù.

try
 {
 // set the system property, so that Java knows where to look for
 // the protocol handlers. You only need to do it once.
 Properties prop = System.getProperties();
 prop.put("java.protocol.handler.pkgs",
 "com.crossworlds.connectors.utils.ProtocolHandlers");
  
 URL url = new URL(¡ºhttp://www.crossworlds.com¡»);
 CWURLConnection uc = (CWURLConnection) url.openConnection();
 BusinessObjectInterface respBO = (BusinessObjectInterface)
 uc.getContent (input, mime, prefix);
  
 }
 catch (Exception XX)
 {
 //flag error
 }
 

Copyright IBM Corp. 1997, 2003