Copyright © 2002 SAP AG. All Rights Reserved.

com.sap.security.core.server.securestorage
Class SecureStorageServiceFrame

java.lang.Object
  |
  +--com.sap.security.core.server.securestorage.SecureStorageServiceFrame
All Implemented Interfaces:
com.sap.engine.frame.ApplicationServiceFrame, com.sap.engine.frame.container.event.ContainerEventListener, com.sap.engine.frame.ServiceFrame

public class SecureStorageServiceFrame
extends java.lang.Object
implements com.sap.engine.frame.ApplicationServiceFrame, com.sap.engine.frame.container.event.ContainerEventListener


Field Summary
static java.lang.String algorithm
           
static int CLIENT_TYPE_SERVICE
           
static int CLIENT_TYPE_WEB_APPLICATION
           
static java.lang.String JNDI_NAME
           
static java.lang.String KEYSTORE_CLIENT_NAME
           
static java.lang.String ROOT_CONFIGURATION_NAME
           
static int SECURE_STORAGE_OBJECT_MODEL_VERSION
           
static java.lang.String SERVICES_SUBCONFIGURATION_NAME
           
static java.lang.String WEBAPPS_SUBCONFIGURATION_NAME
           
 
Fields inherited from interface com.sap.engine.frame.container.event.ContainerEventListener
INTERFACE_TYPE, LIBRARY_TYPE, MASK_BEGIN_COMPONENT_UNDEPLOY, MASK_BEGIN_COMPONENT_UNLOAD, MASK_BEGIN_CONTAINER_STOP, MASK_BEGIN_SERVICE_STOP, MASK_COMPONENT_LOADED, MASK_COMPONENT_NOT_LOADED, MASK_COMPONENT_NOT_RESOLVED, MASK_COMPONENT_REGISTERED, MASK_COMPONENT_RESOLVED, MASK_COMPONENT_UNDEPLOYED, MASK_COMPONENT_UNLOADED, MASK_CONTAINER_STARTED, MASK_INTERFACE_AVAILABLE, MASK_INTERFACE_NOT_AVAILABLE, MASK_MANAGEMENT_INTERFACE_REGISTERED, MASK_MANAGEMENT_INTERFACE_UNREGISTERED, MASK_MARK_FOR_SHUTDOWN, MASK_SERVICE_NOT_STARTED, MASK_SERVICE_STARTED, MASK_SERVICE_STOPPED, SERVICE_TYPE
 
Constructor Summary
SecureStorageServiceFrame()
           
 
Method Summary
 void beginContainerStop()
           
 void beginServiceStop(java.lang.String serviceName)
           
 boolean changeProperties(java.util.Properties properties)
           
 void containerStarted()
           
 void interfaceAvailable(java.lang.String interfaceName, java.lang.Object interfaceImpl)
           
 void interfaceNotAvailable(java.lang.String interfaceName)
           
 void markForShutdown(long mark)
           
 void serviceInterfaceRegistered(java.lang.String serviceName, java.lang.Object serviceInterface)
           
 void serviceInterfaceUnregistered(java.lang.String serviceName)
           
 void serviceNotStarted(java.lang.String serviceName)
           
 void serviceStarted(java.lang.String serviceName, java.lang.Object serviceInterface)
           
 void serviceStopped(java.lang.String serviceName)
           
 boolean setServiceProperties(java.util.Properties serviceProperties)
           
 boolean setServiceProperty(java.lang.String key, java.lang.String value)
           
 void start(com.sap.engine.frame.ApplicationServiceContext serviceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_CONFIGURATION_NAME

public static final java.lang.String ROOT_CONFIGURATION_NAME

KEYSTORE_CLIENT_NAME

public static final java.lang.String KEYSTORE_CLIENT_NAME

SERVICES_SUBCONFIGURATION_NAME

public static final java.lang.String SERVICES_SUBCONFIGURATION_NAME

WEBAPPS_SUBCONFIGURATION_NAME

public static final java.lang.String WEBAPPS_SUBCONFIGURATION_NAME

CLIENT_TYPE_WEB_APPLICATION

public static final int CLIENT_TYPE_WEB_APPLICATION

CLIENT_TYPE_SERVICE

public static final int CLIENT_TYPE_SERVICE

algorithm

public static final java.lang.String algorithm

SECURE_STORAGE_OBJECT_MODEL_VERSION

public static final int SECURE_STORAGE_OBJECT_MODEL_VERSION

JNDI_NAME

public static final java.lang.String JNDI_NAME
Constructor Detail

SecureStorageServiceFrame

public SecureStorageServiceFrame()
Method Detail

start

public void start(com.sap.engine.frame.ApplicationServiceContext serviceContext)
           throws com.sap.engine.frame.ServiceException
Specified by:
start in interface com.sap.engine.frame.ApplicationServiceFrame

stop

public void stop()
          throws com.sap.engine.frame.ServiceRuntimeException
Specified by:
stop in interface com.sap.engine.frame.ServiceFrame

changeProperties

public boolean changeProperties(java.util.Properties properties)
                         throws java.lang.IllegalArgumentException

beginContainerStop

public void beginContainerStop()
Specified by:
beginContainerStop in interface com.sap.engine.frame.container.event.ContainerEventListener

containerStarted

public void containerStarted()
Specified by:
containerStarted in interface com.sap.engine.frame.container.event.ContainerEventListener

serviceStarted

public void serviceStarted(java.lang.String serviceName,
                           java.lang.Object serviceInterface)
Specified by:
serviceStarted in interface com.sap.engine.frame.container.event.ContainerEventListener

serviceNotStarted

public void serviceNotStarted(java.lang.String serviceName)
Specified by:
serviceNotStarted in interface com.sap.engine.frame.container.event.ContainerEventListener

beginServiceStop

public void beginServiceStop(java.lang.String serviceName)
Specified by:
beginServiceStop in interface com.sap.engine.frame.container.event.ContainerEventListener

serviceStopped

public void serviceStopped(java.lang.String serviceName)
Specified by:
serviceStopped in interface com.sap.engine.frame.container.event.ContainerEventListener

markForShutdown

public void markForShutdown(long mark)
Specified by:
markForShutdown in interface com.sap.engine.frame.container.event.ContainerEventListener

interfaceAvailable

public void interfaceAvailable(java.lang.String interfaceName,
                               java.lang.Object interfaceImpl)
Specified by:
interfaceAvailable in interface com.sap.engine.frame.container.event.ContainerEventListener

interfaceNotAvailable

public void interfaceNotAvailable(java.lang.String interfaceName)
Specified by:
interfaceNotAvailable in interface com.sap.engine.frame.container.event.ContainerEventListener

serviceInterfaceRegistered

public void serviceInterfaceRegistered(java.lang.String serviceName,
                                       java.lang.Object serviceInterface)

serviceInterfaceUnregistered

public void serviceInterfaceUnregistered(java.lang.String serviceName)

setServiceProperty

public boolean setServiceProperty(java.lang.String key,
                                  java.lang.String value)
Specified by:
setServiceProperty in interface com.sap.engine.frame.container.event.ContainerEventListener

setServiceProperties

public boolean setServiceProperties(java.util.Properties serviceProperties)
Specified by:
setServiceProperties in interface com.sap.engine.frame.container.event.ContainerEventListener

Copyright © 2002 SAP AG. All Rights Reserved.