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


Java VsoMethod类代码示例

本文整理汇总了Java中com.vmware.o11n.plugin.sdk.annotation.VsoMethod的典型用法代码示例。如果您正苦于以下问题:Java VsoMethod类的具体用法?Java VsoMethod怎么用?Java VsoMethod使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


VsoMethod类属于com.vmware.o11n.plugin.sdk.annotation包,在下文中一共展示了VsoMethod类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createMetadata

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createMetadata(Session session, Metadata childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.METADATAS_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:BGPNeighbor.java

示例2: delete

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
    int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
    super.delete(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementDeleted(Constants.MONITORINGPORT, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:MonitoringPort.java

示例3: createGlobalMetadata

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createGlobalMetadata(Session session, GlobalMetadata childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.GLOBALMETADATAS_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:InfrastructureConfig.java

示例4: createLtestatistics

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createLtestatistics(Session session, Ltestatistics childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.LTESTATISTICS_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:VLAN.java

示例5: assignGlobalMetadatas

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void assignGlobalMetadatas(Session session, GlobalMetadata[] childRestObjs, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.assign(session, java.util.Arrays.asList(childRestObjs), commit);
    if (!session.getNotificationsEnabled()) { 
       SessionManager.getInstance().notifyElementUpdated(Constants.VM, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:VM.java

示例6: assignGlobalMetadatas

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void assignGlobalMetadatas(Session session, GlobalMetadata[] childRestObjs, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.assign(session, java.util.Arrays.asList(childRestObjs), commit);
    if (!session.getNotificationsEnabled()) { 
       SessionManager.getInstance().notifyElementUpdated(Constants.EGRESSADVFWDENTRYTEMPLATE, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:EgressAdvFwdEntryTemplate.java

示例7: delete

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
    int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
    super.delete(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementDeleted(Constants.ENTERPRISESECUREDDATA, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:EnterpriseSecuredData.java

示例8: createOSPFInterface

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createOSPFInterface(Session session, OSPFInterface childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.OSPFINTERFACES_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:OSPFArea.java

示例9: save

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
    super.save(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementUpdated(Constants.VSP, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:8,代码来源:VSP.java

示例10: save

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
    super.save(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementUpdated(Constants.NEXTHOP, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:8,代码来源:NextHop.java

示例11: delete

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
    int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
    super.delete(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementDeleted(Constants.NSGINFO, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:NSGInfo.java

示例12: createAlarm

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createAlarm(Session session, Alarm childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.ALARMS_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:IKEGatewayConnection.java

示例13: delete

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
    int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
    super.delete(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementDeleted(Constants.ENTERPRISE, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:Enterprise.java

示例14: createVsgRedundantPort

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createVsgRedundantPort(Session session, VsgRedundantPort childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
    boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
    super.createChild(session, childRestObj, responseChoice, commit);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementInvalidate(Constants.VSGREDUNDANTPORTS_FETCHER, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:9,代码来源:RedundancyGroup.java

示例15: save

import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
    super.save(session, responseChoice);
    if (!session.getNotificationsEnabled()) {
       SessionManager.getInstance().notifyElementUpdated(Constants.BRIDGEINTERFACE, getId());
    }
}
 
开发者ID:nuagenetworks,项目名称:vspk-vro,代码行数:8,代码来源:BridgeInterface.java


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