This commit is contained in:
crusader 2017-12-31 21:25:23 +09:00
parent 734f34f4f6
commit 88469945b0
5 changed files with 10 additions and 0 deletions

View File

@ -9,10 +9,15 @@ import {
TypeUtil, TypeUtil,
} from '@overflow/commons/core/type'; } from '@overflow/commons/core/type';
import {
Injectable,
} from '@overflow/commons/di/decorators';
export interface ConfigurationAnnotationAttributes { export interface ConfigurationAnnotationAttributes {
name?: string[]; name?: string[];
} }
@Injectable()
export class ConfigurationAnnotation implements Annotation { export class ConfigurationAnnotation implements Annotation {
public readonly attributes: ConfigurationAnnotationAttributes; public readonly attributes: ConfigurationAnnotationAttributes;

View File

@ -4,3 +4,8 @@ import {
export type InstanceNameType = IdentityType<string>; export type InstanceNameType = IdentityType<string>;
export type InstanceFactoryType = (...args: any[]) => any; export type InstanceFactoryType = (...args: any[]) => any;
export enum ScopeType {
Singleton = 'Singleton',
Transiant = 'Transiant',
}