| | |
| | | import com.vci.corba.bofactory.BOFactoryServicePrx; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.framework.FrameworkServicePrx; |
| | | import com.vci.corba.log.LogServicePrx; |
| | | import com.vci.corba.omd.atm.AttPoolServicePrx; |
| | | import com.vci.corba.omd.btm.BTMServicePrx; |
| | | import com.vci.corba.omd.data.AttributeValue; |
| | | import com.vci.corba.omd.etm.EnumServicePrx; |
| | | import com.vci.corba.omd.lcm.LifeCycleServicePrx; |
| | | import com.vci.corba.omd.ltm.LinkTypeServicePrx; |
| | | import com.vci.corba.omd.qtm.QTDServicePrx; |
| | | import com.vci.corba.omd.stm.StatePoolServicePrx; |
| | | import com.vci.corba.omd.vrm.VersionRuleServicePrx; |
| | | import com.vci.corba.portal.PortalServicePrx; |
| | |
| | | */ |
| | | public EnumServicePrx getEnumService() throws PLException { |
| | | return ServiceProvider.getOMDService().getEnumService(); |
| | | // return EnumServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(ENUM_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public VersionRuleServicePrx getVersionService() throws PLException { |
| | | return ServiceProvider.getOMDService().getVerRuleService(); |
| | | // return VersionRuleServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(VERSION_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public AttPoolServicePrx getAttributeService() throws PLException { |
| | | return ServiceProvider.getOMDService().getAttributeService(); |
| | | // return AttPoolServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(ATTRIBUTE_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public BTMServicePrx getBtmService() throws PLException { |
| | | return ServiceProvider.getOMDService().getBTMService(); |
| | | // return BTMServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(BTM_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public LinkTypeServicePrx getLinkTypeService() throws PLException { |
| | | return ServiceProvider.getOMDService().getLinkTypeService(); |
| | | // return LinkTypeServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(LINK_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public PortalServicePrx getPortalService(){ |
| | | return ServiceProvider.getUIService(); |
| | | // return PortalServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(PORTAL_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public ObjectQueryServicePrx getQueryService(){ |
| | | return ServiceProvider.getOQService(); |
| | | // return QTServiceHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByServiceName(QUERY_SERVICE_NAME)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public VolumeServicePrx getVolumeService(String volumeName){ |
| | | return ServiceProvider.getVolumeService(volumeName); |
| | | // return VolumnFactoryHelper.narrow(jacorbClientConnector.getCorbaServiceObjectByUrlAndServiceName(serverUrl,volumeName)); |
| | | } |
| | | |
| | | /** |
| | | * 查询模板服务 |
| | | * @return 卷服务的的对象 |
| | | */ |
| | | public QTDServicePrx getQTDService() throws PLException { |
| | | return ServiceProvider.getOMDService().getQTDService(); |
| | | } |
| | | |
| | | /** |
| | | * 查询模板服务 |
| | | * @param sql sql语句 |
| | | * @param attrVals 占位符的值 |
| | | * @return 卷服务的的对象 |
| | | */ |
| | | public String[][] getSqlQueryService(String sql, AttributeValue[] attrVals) throws PLException { |
| | | return ServiceProvider.getBOFService().getSqlQueryResult(sql, attrVals); |
| | | } |
| | | |
| | | /** |
| | | * 获取登录日志服务 |
| | | * @Return com.vci.corba.log.LogServicePrx |
| | | */ |
| | | public LogServicePrx getLogService(){ |
| | | return ServiceProvider.getLogService(); |
| | | } |
| | | } |