node-web-mvc
Version:
node spring mvc
16 lines (15 loc) • 666 B
JavaScript
;
/**
* @module Service
* @description 注册服务类型的bean到Ioc容器中
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Target_1 = __importDefault(require("../../servlets/annotations/Target"));
const ElementType_1 = __importDefault(require("../../servlets/annotations/annotation/ElementType"));
const Component_1 = __importDefault(require("./Component"));
class Service extends Component_1.default {
}
exports.default = (0, Target_1.default)(ElementType_1.default.TYPE)(Service);