Browse files

Move to new subresource map system

  • Loading branch information...
1 parent 393aa1b commit 639c595331976865182377f2812e0b5b90f536cb @dmlloyd committed Nov 2, 2012
View
9 examples/threads/src/main/java/org/jboss/as/threads/ThreadsSubsystemResource.java
@@ -1,7 +1,6 @@
package org.jboss.as.threads;
-import java.util.List;
-
+import java.util.Map;
import org.jboss.mgmt.Resource;
import org.jboss.mgmt.annotation.Provides;
import org.jboss.mgmt.annotation.RootResource;
@@ -21,9 +20,5 @@
public interface ThreadsSubsystemResource extends Resource {
@SubResource
- //Map<String, ThreadFactoryResource> getThreadFactoryNames();
- //List<String> getThreadFactoryNames();
- ThreadFactoryResource getThreadFactory(String name);
-
- List<String> getThreadFactoryNames();
+ Map<String, ThreadFactoryResource> getThreadFactories();
}

0 comments on commit 639c595

Please sign in to comment.