org.glassfish.admin.cli.resources
Class ResourcesManager

java.lang.Object
  extended by org.glassfish.admin.cli.resources.ResourcesManager

public class ResourcesManager
extends Object

This class serves as the API to creating new resources when an xml file is supplied containing the resource definitions

Author:
PRASHANTH ABBAGANI

Constructor Summary
ResourcesManager()
           
 
Method Summary
static ArrayList createResources(Resources resources, File resourceXMLFile, String target, ResourceFactory resourceFactory)
          Creating resources from sun-resources.xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesManager

public ResourcesManager()
Method Detail

createResources

public static ArrayList createResources(Resources resources,
                                        File resourceXMLFile,
                                        String target,
                                        ResourceFactory resourceFactory)
                                 throws Exception
Creating resources from sun-resources.xml file. This method is used by the admin framework when the add-resources command is used to create resources

Throws:
Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.