Class GlueService

java.lang.Object
com.poscoict.glueframework.biz.control.GlueService
All Implemented Interfaces:
Serializable

public class GlueService extends Object implements Serializable
GlueService Class는 Service.xml의 내용을 담고 있는 객체이다.
Member 변수로 ActivityHandler(Activity 내용), TransactionManager와 최초 실행할 Activity정보를 가지고 있다.
See Also:
  • Constructor Details

    • GlueService

      public GlueService(String serviceName, String initialActivityName)
    • GlueService

      public GlueService(com.poscoict.glueframework.schema.Service serviceInfo)
      생성자(constructor). Service.xml의 내용을 GlueService에 초기화 작업을 진행함.
      이 작업에서 Error가 발생하면 해당 Service가 동작하지 않으므로 Service.xml을 수정후 Restart하여야 한다.
      Parameters:
      serviceInfo - Parsing 된 Service.xml Data
  • Method Details

    • getServicName

      public String getServicName()
      Service Name을 Return
      Returns:
      String Service Name
    • getInitialActivity

      protected String getInitialActivity()
      Internal Use Only
      Initial Activity Name을 넘겨줌.
      Returns:
      String Initial Activity Name
    • getActivityHandler

      protected GlueService.GlueActivityHandler getActivityHandler(String activityName)
      Internal Use Only
      GlueActivityHandler를 return함.
      Parameters:
      activityName - Service.xml의 activity name
      Returns:
      GlueActivityHandler Activity 정보를 담고 있는 Class
    • addActivityInfo

      public GlueService.GlueActivityHandler addActivityInfo(String name, String clazz)
    • getTransactionManagers

      public Map<String,Boolean> getTransactionManagers()
      Internal Use Only
      Transaction Manager Map을 넘겨줌.
      Returns:
      Map Transaction Manager Map<String, Boolean>
    • toString

      public String toString()
      Overrides:
      toString in class Object