|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.AbstractService
com.bigdata.service.ClientService
com.bigdata.service.jini.ClientServer.AdministrableClientService
public static class ClientServer.AdministrableClientService
Adds jini administration interfaces to the basic DataService.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.bigdata.service.ClientService |
|---|
ClientService.ClientServiceFederationDelegate, ClientService.Options |
| Field Summary | |
|---|---|
protected ClientServer |
server
|
| Fields inherited from class com.bigdata.service.ClientService |
|---|
log |
| Constructor Summary | |
|---|---|
ClientServer.AdministrableClientService(ClientServer server,
Properties properties)
|
|
| Method Summary | |
|---|---|
protected void |
clearLoggingContext()
Clear the logging context. |
void |
destroy()
Destroy the service. |
Object |
getAdmin()
|
JiniFederation<?> |
getFederation()
Return the proxy used to access other services in the federation. |
String |
getServiceName()
Extends the base behavior to return a Name of the service
from the Configuration. |
protected void |
setupLoggingContext()
Adds the following parameters to the MDC
clientname
The hostname or IP address of the client making the request.
Note: InetAddress.getHostName() is used. |
void |
shutdown()
Shutdown the service, but do not destroy its persistent data. |
void |
shutdownNow()
Immediate or fast shutdown for the service, but does not destroy its persistent data. |
Future<? extends Object> |
submit(Callable<? extends Object> task)
Extends the base behavior to return an RMI compatible proxy for the Future. |
| Methods inherited from class com.bigdata.service.ClientService |
|---|
getServiceIface, getSession, isOpen, start |
| Methods inherited from class com.bigdata.service.AbstractService |
|---|
getHostname, getServiceUUID, setServiceUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bigdata.service.IService |
|---|
getHostname, getServiceUUID |
| Field Detail |
|---|
protected final ClientServer server
| Constructor Detail |
|---|
public ClientServer.AdministrableClientService(ClientServer server,
Properties properties)
| Method Detail |
|---|
public Object getAdmin()
throws RemoteException
getAdmin in interface net.jini.admin.AdministrableRemoteExceptionprotected void setupLoggingContext()
MDC
InetAddress.getHostName() is used. This method makes a
one-time best effort attempt to resolve the host name from the
InetAddress.
setupLoggingContext in class AbstractServiceClientSubject to obtain the
authenticated identity of the client (if any) for an incoming
remote call.protected void clearLoggingContext()
AbstractService
clearLoggingContext in class AbstractServicepublic void destroy()
IServiceDestroyAdmin.destroy().
destroy in interface IServicedestroy in interface RemoteDestroyAdmindestroy in interface com.sun.jini.admin.DestroyAdmindestroy in class AbstractServicepublic void shutdown()
RemoteDestroyAdmin
shutdown in interface RemoteDestroyAdminshutdown in class ClientServicepublic void shutdownNow()
RemoteDestroyAdmin
shutdownNow in interface RemoteDestroyAdminshutdownNow in class ClientServicepublic JiniFederation<?> getFederation()
AbstractService
getFederation in class AbstractServicepublic Future<? extends Object> submit(Callable<? extends Object> task)
Future.
submit in interface IRemoteExecutorsubmit in class ClientServiceFuture for that task.AbstractDistributedFederation.getProxy(Future)public String getServiceName()
Name of the service
from the Configuration. If no name was specified in the
Configuration then the value returned by the base class is
returned instead.
getServiceName in interface IServicegetServiceName in class AbstractService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||