jspocp.

JSPOCP´Â Java ±â¹Ý Spocp Ŭ¶óÀ̾ðÆ®ÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

jspocp. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Leif Johansson
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://devel.it.su.se/pub/jsp/polopoly.jsp?d=1026&a=3290

jspocp. ű×


jspocp. ¼³¸í

jspocp´Â ÀÚ¹Ù ±â¹ÝÀÇ SPOCP Ŭ¶óÀ̾ðÆ®ÀÔ´Ï´Ù. jspocp´Â ÀÚ¹Ù ±â¹ÝÀÇ SPOCP client.This ÇÁ·ÎÁ§Æ® (jspocp) ÀÚ¹Ù¸¦ »ç¿ëÇÏ¿© SPOCPÀ§ÇÑ Å¬¶óÀ̾ðÆ®ÀÔ´Ï´Ù. ±×°ÍÀº maven2 ÀúÀå¼Ò¿¡¼­ maven2¸¦ »ç¿ëÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼öÀÔÀº java.util.List; »ý¼º µÈ ¹®¼­´Â ¼Ò½º ÄÚµå ¿¹Á¦ testing.package org.spocp.client¿¡ ¿¹ºñ ¹× µÉ ´ÙÀ½ÀÇ javadoc ¹× »ç¿ë examples.jSPOCP »ç¿ë ExampleTheÀÌ µé¾î ¿À±â org.apache.commons.logging.Log¸¦, ¼öÀÔ Á¶Á÷ .apache.commons.logging.LogFactory / ** * * * @author alund / °ø¿ë Ŭ·¡½º {¿¹ °³ÀÎ Á¤Àû ÃÖÁ¾ ·Î±×ÀÎ ·Î±× = LogFactory.getLog (SPOCPClient.class); / ** * *´Â spocp ¼­¹ö * / °ø°ø Á¤Àû SPOCPConnectionFactory ConnectionFactory¸¦ (¹®ÀÚ¿­ È£½ºÆ®, INT Æ÷Æ®) {SPOCPConnectionFactoryImpl CF = »õ·Î¿î SPOCPConnectionFactoryImpl ()¿¡ ´ëÇÑ ¿¬°áÀ» ¸¸µå´Â µ¥ »ç¿ëµÇ´Â ¿¬°á ÆÑÅ丮ÀÇ ÀνºÅϽº ¿¹¿Ü :; cf.setServer (È£½ºÆ®); cf.setPort (Æ÷Æ®); CF¸¦ ¹Ýȯ; } / ** * @paramÀÇ Àμö ¸í·É Çà Àμö * / °ø°ø Á¤Àû ¹«È¿ ¸ÞÀÎ (¹®ÀÚ¿­ Àμö []) {SPOCPResult ¿¹¿Ü °á°ú¸¦ ¹ß»ý; ½ºÆ®¸µ È£½ºÆ® Àμö = ; INT Æ÷Æ® =ÀÖ´Â Integer.parseInt (Àμö ); SPOCPConnectionFactory CF = SPOCPClient.connectionFactory (È£½ºÆ® Æ÷Æ®); SPOCPConnection C = cf.getConnection (); log.debug (c); // ---- ---- ¾î¶² ±ÔÄ¢ °á°ú = c.issueCommand Ãß°¡ (»õ AddCommand (NULLÀ» "(a (b¿¡ c))")); °æ¿ì (result.getResultCode () = SPOCPResult.SPOCP_SUCCESS!) System.err.printlnÀ» (result.getMessage ()); AddCommand addCmd »õ·Î¿î AddCommandÀ» () =; addCmd.setPath ( "/ ¿¹"); addCmd.setSExpr ( "(ABC DEF)"); °á°ú = c.issueCommand (addCmd); °æ¿ì (result.getResultCode () = SPOCPResult.SPOCP_SUCCESS!) System.err.printlnÀ» (result.getMessage ()); addCmd.setPath ( "/ anlu0008"); addCmd.setSExpr ( "(UB Ã¥ (SAB P U))"); addCmd.setBoundaryCondition ( "NULL"); addCmd.setReturnInfo ( "anlu0008@somedomain.se".getBytes ()); °á°ú = c.issueCommand (addCmd); °æ¿ì (result.getResultCode () = SPOCPResult.SPOCP_SUCCESS!) System.err.printlnÀ» (result.getMessage ()); addCmd.setPath ( "/ jolo0001"); addCmd.setSExpr ( "(UB Ã¥ (SAB P U))"); addCmd.setBoundaryCondition ( "NULL"); addCmd.setReturnInfo ( "johanna.lofstrom@somedomain.se".getBytes ()); °á°ú = c.issueCommand (addCmd); °æ¿ì (result.getResultCode () = SPOCPResult.SPOCP_SUCCESS!) System.err.printlnÀ» (result.getMessage ()); // ( "(ABC DEF GHI)") »õ·Î¿î QueryCommand (³Î) ÀϺΠÄõ¸®´Â = c.issueCommand °á°ú È®ÀÎ; °æ¿ì (result.getResultCode () == SPOCPResult.SPOCP_DENIED) System.err.printlnÀ» ( "Äõ¸®´Â ¾î¶² ±ÔÄ¢°ú ÀÏÄ¡ÇÏÁö ¾ÊÀº"); ´ÙÁß ¼±À» ÀÏÀ¸Å²´Ù // Äõ¸® // ¶§¹®¿¡ // ÀÏÄ¡ ±ÔÄ¢ °á°ú = c.issueCommand (»õ QueryCommand (NULL°ú °ü·ÃµÈ ¸®ÅÏ Á¤º¸ ºí·ÓÀÇ ÀÀ ´ä "(UB Ã¥ (SAB P U))" )); °æ¿ì (result.getResultCode () == SPOCPResult.SPOCP_SUCCESS) {¸ñ·Ï resultList result.getResultInfoList = (); °æ¿ì (resultList.size () == 1) {SPOCPResultInfo RI = (SPOCPResultInfo) resultList.get (0); ¿¡¼­ System.out.println ( "ÀÏÄ¡ ±ÔÄ¢¿¡ ´ëÇÑ ¹Ýȯ Á¤º¸ :"+ »õ·Î¿î String (ri.getBlob ())); }} // ¸ñ·Ï ±ÔÄ¢Àº, ±×µé¿¡°Ô º¸¿© ±×µéÀ» = c.issueCommand °á°ú »èÁ¦ (»õ ListCommand ()); ¸ñ·Ï resultList = result.getResultInfoList (); ¸¸¾à (! resultList = NULL) {À§ÇØÀº (INT ³­ = 0; I


jspocp. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

Kompmgr â ¼³Á¤

Kompmgr â ¼³Á¤Àº kompmgr (¹ÝÅõ¸í) »ç¿ëÀÚÀÇ ºÒÅõ¸íµµ ¹× ¼¨µµ¿ì ¼³Á¤À» ¼³Á¤ÇÏ´Â ÀÛÀº ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. ...

72

´Ù¿î·Îµå

PCR Postit.

PCR POSTIT´Â XML ÆÄÀÏ ¹× PHP5·Î ÀÛ¼ºµÈ AJAX¸¦ ±â¹ÝÀ¸·ÎÇÏ´Â ¹Ì¸® ¾Ë¸² / Postit ½Ã½ºÅÛÀÔ´Ï´Ù. ...

211

´Ù¿î·Îµå

÷ºÎ ÆÄÀÏ

AttachmentField´Â ÷ºÎ ÆÄÀÏ °ü¸®¸¦À§ÇÑ Archetypes Çʵ带 Á¦°øÇÕ´Ï´Ù (¹Ì¸®º¸±â ¹× Àε¦½Ì Æ÷ÇÔ). ...

152

´Ù¿î·Îµå