6970717273747576777879
public Set<Type> getTypeClosure() { return Collections.emptySet(); } ApplicationScoped a = new ApplicationScoped() { public Class<? extends Annotation> annotationType() { return ApplicationScoped.class; } };
7172737475767778798081
100101102103104105106107108109110
if (!isRpc) { managedTypes.addServiceEndpoint(type); } // enforce application scope until we get the other scopes working ApplicationScoped scope = type.getAnnotation(ApplicationScoped.class); if (null == scope) log.warn("Service implementation not @ApplicationScoped: " + type.getJavaClass()); }