test_class.declarator: ROOT_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Root resource description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription ROOT_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Root resource description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: ROOT_DESC
test_class.declarator: A_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription A_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: A_DESC
test_class.declarator: A_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-1 description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription A_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-1 description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: A_1_DESC
test_class.declarator: A_1_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-1-1 description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription A_1_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-1-1 description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: A_1_1_DESC
test_class.declarator: A_2_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-2 description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription A_2_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource A-2 description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: A_2_DESC
test_class.declarator: B_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource B description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription B_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource B description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: B_DESC
test_class.declarator: C_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription C_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: C_DESC
test_class.declarator: C_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C-1 description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription C_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C-1 description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: C_1_DESC
test_class.declarator: C_1_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C-1-1 description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription C_1_1_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Resource C-1-1 description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: C_1_1_DESC
test_class.declarator: WILDCARD_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Wildcard description";
        }
     }
test_class.modifier: private static final
test_class.original_string: private static final ManagedDescription WILDCARD_DESC = new ManagedDescription()
     {
        @Override
        public String getDescription()
        {
           return "Wildcard description";
        }
     };
test_class.type: ManagedDescription
test_class.var_name: WILDCARD_DESC
test_class.file: core/src/test/java/org/gatein/management/core/api/SimpleManagedResourceTest.java
test_class.identifier: SimpleManagedResourceTest
test_case.body: @Test
     public void rootRegistration()
     {
        SimpleManagedResource root = createRootResource();
        assertEquals(ROOT_DESC.getDescription(), root.getResourceDescription(PathAddress.EMPTY_ADDRESS).getDescription());
     }
test_case.class_method_signature: SimpleManagedResourceTest.rootRegistration()
test_case.full_signature: @Test public void rootRegistration()
test_case.identifier: rootRegistration
test_case.invocations: createRootResource assertEquals getDescription getDescription getResourceDescription
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void rootRegistration()
focal_class.declarator: log = LoggerFactory.getLogger(SimpleManagedResource.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(SimpleManagedResource.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: children = new ConcurrentHashMap<String, SimpleManagedResource>()
focal_class.modifier: private volatile
focal_class.original_string: private volatile ConcurrentMap<String, SimpleManagedResource> children = new ConcurrentHashMap<String, SimpleManagedResource>();
focal_class.type: ConcurrentMap<String, SimpleManagedResource>
focal_class.var_name: children
focal_class.declarator: operations = new ConcurrentHashMap<String, OperationEntry>()
focal_class.modifier: private volatile
focal_class.original_string: private volatile ConcurrentMap<String, OperationEntry> operations = new ConcurrentHashMap<String, OperationEntry>();
focal_class.type: ConcurrentMap<String, OperationEntry>
focal_class.var_name: operations
focal_class.declarator: description
focal_class.modifier: protected final
focal_class.original_string: protected final ManagedDescription description;
focal_class.type: ManagedDescription
focal_class.var_name: description
focal_class.file: core/src/main/java/org/gatein/management/core/api/SimpleManagedResource.java
focal_class.identifier: SimpleManagedResource
focal_class.class_method_signature: SimpleManagedResource.SimpleManagedResource(PathElement pathElement, AbstractManagedResource parent, ManagedDescription description)
focal_class.full_signature: public  SimpleManagedResource(PathElement pathElement, AbstractManagedResource parent, ManagedDescription description)
focal_class.identifier: SimpleManagedResource
focal_class.modifiers: public
focal_class.parameters: (PathElement pathElement, AbstractManagedResource parent, ManagedDescription description)
focal_class.signature:  SimpleManagedResource(PathElement pathElement, AbstractManagedResource parent, ManagedDescription description)
focal_class.class_method_signature: SimpleManagedResource.registerSubResource(String name, ManagedDescription description)
focal_class.full_signature: @Override public Registration registerSubResource(String name, ManagedDescription description)
focal_class.identifier: registerSubResource
focal_class.modifiers: @Override public
focal_class.parameters: (String name, ManagedDescription description)
focal_class.return: Registration
focal_class.signature: Registration registerSubResource(String name, ManagedDescription description)
focal_class.class_method_signature: SimpleManagedResource.registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description)
focal_class.full_signature: @Override public void registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description)
focal_class.identifier: registerOperationHandler
focal_class.modifiers: @Override public
focal_class.parameters: (String operationName, OperationHandler operationHandler, ManagedDescription description)
focal_class.return: void
focal_class.signature: void registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description)
focal_class.class_method_signature: SimpleManagedResource.registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description, boolean inherited)
focal_class.full_signature: @Override public void registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description, boolean inherited)
focal_class.identifier: registerOperationHandler
focal_class.modifiers: @Override public
focal_class.parameters: (String operationName, OperationHandler operationHandler, ManagedDescription description, boolean inherited)
focal_class.return: void
focal_class.signature: void registerOperationHandler(String operationName, OperationHandler operationHandler, ManagedDescription description, boolean inherited)
focal_class.class_method_signature: SimpleManagedResource.getResourceDescription(PathAddressIterator iterator)
focal_class.full_signature: @Override protected ManagedDescription getResourceDescription(PathAddressIterator iterator)
focal_class.identifier: getResourceDescription
focal_class.modifiers: @Override protected
focal_class.parameters: (PathAddressIterator iterator)
focal_class.return: ManagedDescription
focal_class.signature: ManagedDescription getResourceDescription(PathAddressIterator iterator)
focal_class.class_method_signature: SimpleManagedResource.getOperationEntry(PathAddressIterator iterator, String operationName)
focal_class.full_signature: @Override protected OperationEntry getOperationEntry(PathAddressIterator iterator, String operationName)
focal_class.identifier: getOperationEntry
focal_class.modifiers: @Override protected
focal_class.parameters: (PathAddressIterator iterator, String operationName)
focal_class.return: OperationEntry
focal_class.signature: OperationEntry getOperationEntry(PathAddressIterator iterator, String operationName)
focal_class.class_method_signature: SimpleManagedResource.getOperationEntries(PathAddressIterator iterator, Map<String, OperationEntry> entries)
focal_class.full_signature: @Override protected void getOperationEntries(PathAddressIterator iterator, Map<String, OperationEntry> entries)
focal_class.identifier: getOperationEntries
focal_class.modifiers: @Override protected
focal_class.parameters: (PathAddressIterator iterator, Map<String, OperationEntry> entries)
focal_class.return: void
focal_class.signature: void getOperationEntries(PathAddressIterator iterator, Map<String, OperationEntry> entries)
focal_class.class_method_signature: SimpleManagedResource.getSubResource(PathAddressIterator iterator)
focal_class.full_signature: @Override protected AbstractManagedResource getSubResource(PathAddressIterator iterator)
focal_class.identifier: getSubResource
focal_class.modifiers: @Override protected
focal_class.parameters: (PathAddressIterator iterator)
focal_class.return: AbstractManagedResource
focal_class.signature: AbstractManagedResource getSubResource(PathAddressIterator iterator)
focal_class.class_method_signature: SimpleManagedResource.getSubResource(String childName)
focal_class.full_signature: @Override public ManagedResource getSubResource(String childName)
focal_class.identifier: getSubResource
focal_class.modifiers: @Override public
focal_class.parameters: (String childName)
focal_class.return: ManagedResource
focal_class.signature: ManagedResource getSubResource(String childName)
focal_class.class_method_signature: SimpleManagedResource.getChildNames(PathAddressIterator iterator)
focal_class.full_signature: @Override protected Set<String> getChildNames(PathAddressIterator iterator)
focal_class.identifier: getChildNames
focal_class.modifiers: @Override protected
focal_class.parameters: (PathAddressIterator iterator)
focal_class.return: Set<String>
focal_class.signature: Set<String> getChildNames(PathAddressIterator iterator)
focal_class.class_method_signature: SimpleManagedResource.findDescendant(PathAddressIterator iterator, String childName, StringBuilder path)
focal_class.full_signature: private AbstractManagedResource findDescendant(PathAddressIterator iterator, String childName, StringBuilder path)
focal_class.identifier: findDescendant
focal_class.modifiers: private
focal_class.parameters: (PathAddressIterator iterator, String childName, StringBuilder path)
focal_class.return: AbstractManagedResource
focal_class.signature: AbstractManagedResource findDescendant(PathAddressIterator iterator, String childName, StringBuilder path)
focal_class.class_method_signature: SimpleManagedResource.findMatch(PathAddressIterator iterator, final StringBuilder path)
focal_class.full_signature: private AbstractManagedResource findMatch(PathAddressIterator iterator, final StringBuilder path)
focal_class.identifier: findMatch
focal_class.modifiers: private
focal_class.parameters: (PathAddressIterator iterator, final StringBuilder path)
focal_class.return: AbstractManagedResource
focal_class.signature: AbstractManagedResource findMatch(PathAddressIterator iterator, final StringBuilder path)
focal_class.superclass: extends AbstractManagedResource
focal_method.body: @Override
     protected ManagedDescription getResourceDescription(PathAddressIterator iterator)
     {
        if (iterator.hasNext())
        {
           String name = iterator.next();
           AbstractManagedResource resource = findDescendant(iterator, name, new StringBuilder());
  
           return (resource != null) ? resource.getResourceDescription(iterator) : null;
        }
        else
        {
           return description;
        }
     }
focal_method.class_method_signature: SimpleManagedResource.getResourceDescription(PathAddressIterator iterator)
focal_method.full_signature: @Override protected ManagedDescription getResourceDescription(PathAddressIterator iterator)
focal_method.identifier: getResourceDescription
focal_method.invocations: hasNext next findDescendant getResourceDescription
focal_method.modifiers: @Override protected
focal_method.parameters: (PathAddressIterator iterator)
focal_method.return: ManagedDescription
focal_method.signature: ManagedDescription getResourceDescription(PathAddressIterator iterator)