public class DestroySharedGroup extends Object
DestroySharedGroup
supports the
following configuration entries, with component
org.apache.river.start
:
• |
activationSystemPreparer
| |
---|---|---|
Type: | ProxyPreparer
| |
Default: |
new
| |
Description: | The proxy preparer for the proxy for the
activation system. The value should not be null . This
entry is obtained at service start and restart. This entry is only
used by the activatable implementation.
The service calls the |
• |
loginContext
| |
---|---|---|
Type: | LoginContext
| |
Default: | null
| |
Description: | If not null , specifies the JAAS
login context to use for performing a JAAS login and supplying the
Subject to use when running the
services starter. If null , no JAAS login is performed.
|
• |
serviceDestructors
| |
---|---|---|
Type: | ServiceDescriptor []
| |
Default: no default | ||
Description: | Array of service descriptors to start. |
The DestroySharedGroup service implementation uses the Logger
, named
org.apache.river.start.service.starter
.
The following table describes the
type of information logged as well as the levels of information logged.
Level | Description |
---|---|
SEVERE | for problems that prevent service destruction from proceeding |
WARNING | for problems with service destruction that don't prevent further processing |
FINER | for high level service destruction operation tracing |
FINEST | for low level service destruction operation tracing |
ServiceStarter
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
The main method for the
DestroySharedGroup application. |
public static void main(String[] args)
DestroySharedGroup
application.
The args
parameter is passed directly to
ConfigurationProvider.getInstance()
in order to
obtain a Configuration
object. This configuration
object is then queried for a
org.apache.river.start.serviceDestructors
entry, which
is assumed to be a SharedActivatableServiceDescriptor[]
configured to run SharedGroup
implementations.
The destroyVM()
method is then called on each of the array elements. An attempt is
made to also delete shared group log
directory associated
with each array element.args
- String[]
passed to
ConfigurationProvider.getInstance()
in order
to obtain a Configuration
object.ServiceDescriptor
,
SharedActivatableServiceDescriptor
,
Configuration
,
ConfigurationProvider
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.