Created
January 18, 2024 10:23
-
-
Save SinTeZWh1te/a3600f1a57c4c0e8174b2be76f0dee87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.test.bgbilling.kernel.services; | |
import jakarta.annotation.PostConstruct; | |
import jakarta.jws.WebService; | |
import org.apache.logging.log4j.LogManager; | |
import org.apache.logging.log4j.Logger; | |
import ru.bitel.bgbilling.common.BGException; | |
import ru.bitel.bgbilling.kernel.contract.object.common.service.ContractObjectService; | |
import ru.bitel.bgbilling.kernel.contract.object.server.service.ContractObjectServiceImpl; | |
@WebService(endpointInterface = "ru.bitel.bgbilling.kernel.contract.object.common.service.ContractObjectService") | |
public class CustomContractObjectServiceImpl | |
extends ContractObjectServiceImpl | |
implements ContractObjectService { | |
private static final Logger logger = LogManager.getLogger(); | |
@PostConstruct | |
protected void init() { | |
super.init(); | |
} | |
@Override | |
public void contractObjectDelete(int objectId) throws BGException { | |
logger.info("Hello from Hell!"); | |
super.contractObjectDelete(objectId); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment