Package cn.mapway.spring.resource
Class SpringResourceLocation
java.lang.Object
org.nutz.resource.impl.ResourceLocation
cn.mapway.spring.resource.SpringResourceLocation
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SpringResourceLocation
extends org.nutz.resource.impl.ResourceLocation
implements org.springframework.context.ApplicationContextAware
用法 Scans.me().add(new SpringResourceLocation(ctx));
- Author:
- wendal
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext -
Constructor Summary
ConstructorsConstructorDescriptionSpringResourceLocation(org.springframework.context.ApplicationContext context) -
Method Summary
Methods inherited from class org.nutz.resource.impl.ResourceLocation
equals, file, getJarPath, hashCode, jar
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
SpringResourceLocation
public SpringResourceLocation(org.springframework.context.ApplicationContext context)
-
-
Method Details
-
id
- Specified by:
idin classorg.nutz.resource.impl.ResourceLocation
-
scan
- Specified by:
scanin classorg.nutz.resource.impl.ResourceLocation
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-