electric.application
Class Applications

java.lang.Object
  extended byelectric.application.Applications
All Implemented Interfaces:
IGLUEConfigConstants, IGLUEContextConstants, ILoggingConstants, IWebInfConstants

public class Applications
extends java.lang.Object
implements ILoggingConstants, IGLUEContextConstants, IGLUEConfigConstants, IWebInfConstants

Applications

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Fields inherited from interface electric.glue.IGLUEContextConstants
ACTIVATION, APPLICATION, ATTACHMENT_STYLE, AUTH_METHOD, AUTH_PASSWORD, AUTH_SESSION_STATE, AUTH_USER, AUTHENTICATE, CLASS_LOADERS, CLASS_NAME, CLIENT_ID, CLIENT_SOCKET_READ_TIMEOUT, CONSTRUCTOR, CONTENT_TYPE, COOKIE_LISTENER, DATA_DIRECTORY, DATA_HANDLER, DATABASE, DATABASE_PERSISTENCE, DELETE, DESCRIPTION, DIME, DOC_BASE, DOCUMENT, DYNAMIC_OPERATIONS, ENCODED, ENDPOINT, FACTORY, FOLLOW_REDIRECTS, FORCE_ATTACHMENT_STYLE, FORWARD_INTERMEDIARY, GUARD, HTTP_REGISTRY_ROOT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_SERVLET_CONFIG, INBOUND_SOAP_REQUEST_INTERCEPTOR, INBOUND_SOAP_RESPONSE_INTERCEPTOR, INSTRUMENTATION_LISTENER, INSTRUMENTOR, INTERFACE, INVOCATION_LISTENER, JNDI_PROPERTIES, KEEP_ALIVE, LAZY, LITERAL, LOCAL_ADDRESS, MESSAGE_NAME, METHOD, MIME, NAMESPACE, NET_EVENT_REAPER_CYCLE, NET_EVENT_REAPER_EXPIRY_PERIOD, NET_EVENT_RETRY_PERIOD, OUTBOUND_SOAP_REQUEST_INTERCEPTOR, OUTBOUND_SOAP_RESPONSE_INTERCEPTOR, PERSISTENCE_TYPE, PRIORITY, PROXY_HOST, PROXY_PASSWORD, PROXY_PORT, PROXY_USER, PUBLISH, QUERY_STRING, REALM, REGISTRY_ROOT, RESPONSE_UNREFED_ATTACHMENTS, RETURN_NAME, ROLE, RP_NAMESPACE, RPC, SERVICE, SERVICE_CONTEXT, SERVLET_NAME, SERVLET_PATH, SIGNATURE, SMART_CONNECTIONS, SOAP_ACTION, SOAP_ENCODING_STYLE, SOAP_PERSONALITY, SOAP_REQUEST, SOAP_VERSION, SSL_KEY_MANAGER, SSL_TRUST_MANAGER, STYLE, TARGET_NAMESPACE, TRANSACTION, TRANSPORT_SOURCE, UNREFED_ATTACHMENTS, USE, WSDL_NAME, WSDL_PERSONALITY, WSS_CONTEXT, XML_ENCODING, XML_INCLUDE, XML_PERSISTENCE
 
Fields inherited from interface electric.glue.IGLUEConfigConstants
GLUE_CONFIG_FILE_NAME, GLUE_DEFAULT_CONFIG_FILE_NAME, GLUE_PRODUCT
 
Fields inherited from interface electric.servlet.webinf.IWebInfConstants
AUTH_CONSTRAINT, AUTH_METHOD, CONTEXT_PARAM, DISPLAY_NAME, ERROR_CODE, ERROR_PAGE, EXCEPTION_TYPE, EXTENSION, FILTER, FILTER_CLASS, FILTER_MAPPING, FILTER_NAME, FORM_LOGIN_CONFIG, INIT_PARAM, LISTENER, LISTENER_CLASS, LOAD_ON_STARTUP, LOCATION, LOGIN_CONFIG, MIME_MAPPING, MIME_TYPE, PARAM_NAME, PARAM_VALUE, REALM_NAME, ROLE_NAME, SECURITY_CONSTRAINT, SECURITY_ROLE, SERVLET, SERVLET_CLASS, SERVLET_MAPPING, SERVLET_MAPPING_SERVLET_NAME, SERVLET_NAME, URL_PATTERN, USER_DATA_CONSTRAINT_TRANSPORT_GUARANTEE, WEB_INF, WEB_RESOURCE_COLLECTION, WEB_RESOURCE_NAME, WEB_XML, WELCOME_FILE, WELCOME_FILE_LIST
 
Constructor Summary
Applications()
           
 
Method Summary
static java.lang.String addApplication(java.lang.String name, Application application)
           
static Application getApplication(javax.servlet.ServletContext context)
           
static Application getApplication(java.lang.String name)
           
static Application getCurrentApplication()
           
static Application getDefaultApplication()
           
static boolean isHosted()
           
static void registerApplication(java.lang.String contextPath, Application application)
           
static void setHosted(boolean isHosted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Applications

public Applications()
Method Detail

getDefaultApplication

public static Application getDefaultApplication()

isHosted

public static boolean isHosted()

setHosted

public static void setHosted(boolean isHosted)
Parameters:
isHosted -

getApplication

public static Application getApplication(java.lang.String name)
Parameters:
name -
Returns:
the defaultApplication that corresponds to the name, or null if it's not defined.

getCurrentApplication

public static Application getCurrentApplication()

addApplication

public static java.lang.String addApplication(java.lang.String name,
                                              Application application)
Parameters:
name -
application -
Returns:
the actual name the application was stored under. This prevents clashes where multiple clients want the same name, but not the same application.

getApplication

public static Application getApplication(javax.servlet.ServletContext context)
Parameters:
context -

registerApplication

public static void registerApplication(java.lang.String contextPath,
                                       Application application)
Parameters:
contextPath -
application -


copyright© 2001-2004 by webMethods All Rights Reserved.