electric.application
Interface IApplication
- All Known Subinterfaces:
- IClusteredApplication
- All Known Implementing Classes:
- Application, ClusteredApplication
- public interface IApplication
IApplication defines the methods that are remotely exposed
via the system/application web service and allow an application to
be managed at runtime.
- Author:
- webMethods
addServiceUsingDescriptor
public void addServiceUsingDescriptor(java.lang.String path,
ServiceDescriptor descriptor)
throws DeploymentException
- Parameters:
path
- descriptor
-
- Throws:
DeploymentException
addService
public void addService(java.lang.String path,
MIMEData descriptor)
throws DeploymentException
- Parameters:
path
- descriptor
-
- Throws:
DeploymentException
removeService
public boolean removeService(java.lang.String path)
throws DeploymentException
- Parameters:
path
-
- Throws:
DeploymentException
getServiceDescriptors
public ServiceDescriptor[] getServiceDescriptors()
throws RegistryException,
DirectoryException
- Throws:
RegistryException
DirectoryException
getServiceDescriptor
public ServiceDescriptor getServiceDescriptor(java.lang.String path)
throws RegistryException
- Parameters:
path
-
- Throws:
RegistryException
enableService
public void enableService(java.lang.String name)
throws DeploymentException
- Parameters:
name
-
- Throws:
DeploymentException
disableService
public void disableService(java.lang.String name)
throws DeploymentException
- Parameters:
name
-
- Throws:
DeploymentException
getServicePaths
public java.lang.String[] getServicePaths()
getServicesSummary
public ServicesSummary getServicesSummary()
throws DeploymentException
- Throws:
DeploymentException;
DeploymentException
addServlet
public void addServlet(java.lang.String name,
java.lang.String className,
java.lang.String urlPattern)
throws DeploymentException
- Parameters:
name
- className
- urlPattern
-
- Throws:
DeploymentException
removeServlet
public boolean removeServlet(java.lang.String name)
throws DeploymentException
- Parameters:
name
-
- Throws:
DeploymentException
enableServlet
public void enableServlet(java.lang.String name)
throws DeploymentException
- Parameters:
name
-
- Throws:
DeploymentException
disableServlet
public void disableServlet(java.lang.String name)
throws DeploymentException
- Parameters:
name
-
- Throws:
DeploymentException
getServletNames
public java.lang.String[] getServletNames()
throws DeploymentException
- Throws:
DeploymentException
getServletDescriptor
public ServletDescriptor getServletDescriptor(java.lang.String servletName)
throws DeploymentException
- Parameters:
servletName
-
- Throws:
DeploymentException
getEndpoints
public java.lang.String[] getEndpoints()
addJar
public void addJar(java.lang.String filename,
MIMEData jar)
throws DeploymentException
- Parameters:
filename
- jar
-
- Throws:
DeploymentException
removeJar
public boolean removeJar(java.lang.String filename)
throws DeploymentException
- Parameters:
filename
-
- Throws:
DeploymentException
uploadApplication
public void uploadApplication(MIMEData jar)
throws DeploymentException,
java.io.IOException
- Parameters:
jar
-
- Throws:
DeploymentException
java.io.IOException
deleteFiles
public void deleteFiles(java.lang.String[] filenames)
- Parameters:
filenames
-
getAppName
public java.lang.String getAppName()
copyright© 2001-2004 by webMethods All Rights Reserved.