com.khubla.pragmatach.framework.plugin
Class PluginDescriptor

java.lang.Object
  extended by com.khubla.pragmatach.framework.plugin.PluginDescriptor

public class PluginDescriptor
extends Object

Author:
tome

Field Summary
static String ACTIVATOR
          name
 
Constructor Summary
PluginDescriptor(URL url, InputStream inputStream, javax.servlet.ServletContext servletContext)
           
 
Method Summary
 Manifest getManifest()
          get the plugin jar manifest
 String getName()
           
 Plugin getPlugin()
           
 Properties getProperties()
           
 InputStream getResource(String name)
          get a resource from this plugin's jar
 URL getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVATOR

public static final String ACTIVATOR
name

See Also:
Constant Field Values
Constructor Detail

PluginDescriptor

public PluginDescriptor(URL url,
                        InputStream inputStream,
                        javax.servlet.ServletContext servletContext)
                 throws PragmatachException
Throws:
PragmatachException
Method Detail

getManifest

public Manifest getManifest()
                     throws PragmatachException
get the plugin jar manifest

Throws:
PragmatachException

getName

public String getName()

getPlugin

public Plugin getPlugin()

getProperties

public Properties getProperties()

getResource

public InputStream getResource(String name)
                        throws PragmatachException
get a resource from this plugin's jar

Throws:
PragmatachException

getUrl

public URL getUrl()


Copyright © 2014 khubla.com. All rights reserved.