|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.start.SharedGroupImpl
public class SharedGroupImpl
The provided implementation
of the SharedGroup
service.
The following items are discussed below:
SharedGroupImpl
supports the
following configuration entries, with component
com.sun.jini.start
:
• |
activationIdPreparer
| |
---|---|---|
  | Type: | ProxyPreparer
|
  | Default: |
new
|
  | Description: | The proxy preparer for the service's activation
ID. The value should not be null .
The service starter calls the
activate method to activate the service.
|
• |
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.
The service calls the unregisterGroup method on the ActivationSystem upon service destruction.
|
• |
exporter
| |
---|---|---|
  | Type: | Exporter
|
  | Default: |
new |
  | Description: | The object to use for exporting the service. The
value should not be null . The call to
getEntry will supply the activation ID in
the data argument. This entry is obtained at service
start and restart.
|
• |
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
service. If null , no JAAS login is performed. This
entry is obtained at service start and restart.
|
Logger
, named com.sun.jini.sharedGroup
.
The following table describes the
type of information logged as well as the levels of information logged.
Level | Description |
---|---|
FINE | for low level service operation tracing |
FINER | for lower level service operation tracing |
FINEST | for lowest level service operation tracing |
Field Summary | |
---|---|
protected Exporter |
exporter
The exporter for exporting and unexporting |
Method Summary | |
---|---|
void |
destroyVM()
Cause the hosting VM to exit. |
Object |
getProxy()
Returns a proxy object for this remote object. |
TrustVerifier |
getProxyVerifier()
Returns a TrustVerifier that can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject method of the
returned verifier can be called with a candidate proxy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Exporter exporter
Method Detail |
---|
public void destroyVM() throws RemoteException, ActivationException
SharedGroup
RemoteException
- if there was a problem communicating with
the shared group object
ActivationException
- if there was a problem creating an
activatable shared group instancepublic Object getProxy()
ProxyAccessor
null
is returned.
getProxy
in interface ProxyAccessor
null
public TrustVerifier getProxyVerifier()
ServerProxyTrust
TrustVerifier
that can be used to verify that
a proxy can be trusted as a proxy for the service; that is, the
isTrustedObject
method of the
returned verifier can be called with a candidate proxy. The verifier
should be able to verify all proxies for the service, including
proxies for resources (such as leases and registrations).
getProxyVerifier
in interface ServerProxyTrust
TrustVerifier
that can be used to verify that
a proxy can be trusted as a proxy for the service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |