A C D E H I L M N O P R S T W

A

AbstractDeactivator - class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator.
An abstract class which provides the framework for the behavior required of a concrete object that wishes to enable an activatable object to become inactive.
activationUp(int) - Static method in class com.sun.jini.example.basic.ex1.misc.TestRmidUp
Tests for the existence of the ActivationSystem (RMID).
add(int, int) - Method in interface com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAway
 
add(int, int) - Method in class com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAwayImpl
 
add(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLease
 
add(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLeaseImpl
 
add(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUp
 
add(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUpImpl
 
add(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgr
 
add(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl
 
add(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgr
 
add(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
 

C

com.sun.jini.example.basic.ex1.activation - package com.sun.jini.example.basic.ex1.activation
 
com.sun.jini.example.basic.ex1.asleep - package com.sun.jini.example.basic.ex1.asleep
 
com.sun.jini.example.basic.ex1.attributes - package com.sun.jini.example.basic.ex1.attributes
 
com.sun.jini.example.basic.ex1.awake - package com.sun.jini.example.basic.ex1.awake
 
com.sun.jini.example.basic.ex1.client - package com.sun.jini.example.basic.ex1.client
 
com.sun.jini.example.basic.ex1.discovery - package com.sun.jini.example.basic.ex1.discovery
 
com.sun.jini.example.basic.ex1.event - package com.sun.jini.example.basic.ex1.event
 
com.sun.jini.example.basic.ex1.lookup - package com.sun.jini.example.basic.ex1.lookup
 
com.sun.jini.example.basic.ex1.misc - package com.sun.jini.example.basic.ex1.misc
 
com.sun.jini.example.basic.ex1.register - package com.sun.jini.example.basic.ex1.register
 

D

DiscoveryByGroup - class com.sun.jini.example.basic.ex1.discovery.DiscoveryByGroup.
 
DiscoveryByGroup() - Constructor for class com.sun.jini.example.basic.ex1.discovery.DiscoveryByGroup
 
DiscoveryByLocator - class com.sun.jini.example.basic.ex1.discovery.DiscoveryByLocator.
 
DiscoveryByLocator() - Constructor for class com.sun.jini.example.basic.ex1.discovery.DiscoveryByLocator
 
deactivateObject(ActivationID) - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method will attempt to change the state of the object from active to inactive.
deactivateObject(ActivationID) - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 
decreaseBusyMetric() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method 'decrements' the measure of how 'busy' an activatable object is.
decreaseBusyMetric() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 
displayValue() - Method in class com.sun.jini.example.basic.ex1.misc.TestService
 

E

equals(Object) - Method in class com.sun.jini.example.basic.ex1.misc.TestService
 

H

handleException(Exception) - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method handles any Exception in a manner that is appropriate for the operational environment of the object that wishes to be deactivated.
handleException(Exception) - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 

I

increaseBusyMetric() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method 'increments' the measure of how 'busy' an activatable object is.
increaseBusyMetric() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 

L

LookupAndInvoke - class com.sun.jini.example.basic.ex1.lookup.LookupAndInvoke.
 
LookupAndInvoke() - Constructor for class com.sun.jini.example.basic.ex1.lookup.LookupAndInvoke
 
LookupByAttrClient - class com.sun.jini.example.basic.ex1.client.LookupByAttrClient.
 
LookupByAttrClient() - Constructor for class com.sun.jini.example.basic.ex1.client.LookupByAttrClient
 
LookupByAttrSrvc - class com.sun.jini.example.basic.ex1.register.LookupByAttrSrvc.
 
LookupByAttrSrvc() - Constructor for class com.sun.jini.example.basic.ex1.register.LookupByAttrSrvc
 
LookupByType - class com.sun.jini.example.basic.ex1.lookup.LookupByType.
 
LookupByType() - Constructor for class com.sun.jini.example.basic.ex1.lookup.LookupByType
 
LookupSrvcAndInvoke - class com.sun.jini.example.basic.ex1.client.LookupSrvcAndInvoke.
 
LookupSrvcAndInvoke() - Constructor for class com.sun.jini.example.basic.ex1.client.LookupSrvcAndInvoke
 

M

main(String[]) - Static method in class com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAwayImpl
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.asleep.RegSerializableAndGoAway
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLeaseImpl
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUpImpl
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.client.LookupByAttrClient
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.client.LookupSrvcAndInvoke
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.discovery.DiscoveryByGroup
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.discovery.DiscoveryByLocator
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.event.RegisterAndExpire
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.lookup.LookupAndInvoke
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.lookup.LookupByType
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.misc.TestRmidUp
 
main(String[]) - Static method in class com.sun.jini.example.basic.ex1.register.LookupByAttrSrvc
 
multiply(double, double) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgr
 
multiply(double, double) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl
 
multiply(double, double) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgr
 
multiply(double, double) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
 

N

name - Variable in class com.sun.jini.example.basic.ex1.attributes.TestAttribute
 
name - Variable in class com.sun.jini.example.basic.ex1.attributes.TestAttribute1
 
notify(LeaseRenewalEvent) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener
Called by the LeaseRenewalManager when, on attempting to renew a lease, an exception occurs because the lease has already expired or is denied before the desired absolute expiration time is reached.
notify(RemoteEvent) - Method in class com.sun.jini.example.basic.ex1.event.RegisterAndExpire.LookupEventListener
Method called remotely by lookup to handle the generated event.
notify(RemoteEvent) - Method in class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire.LookupEventListener
Method called remotely by lookup to handle the generated event.

O

objectIsBusy() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method measures how 'busy' the activatable object is and returns true if it is too busy to be deactivated; otherwise it returns false indicating deactivation may be safely attempted.
objectIsBusy() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 
objectIsIdle() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method returns an indication of whether or not the object that wishes to be deactivated has entered a state in which it is appropriate to begin deactivation attempts.
objectIsIdle() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 

P

printUsage() - Static method in class com.sun.jini.example.basic.ex1.misc.TestRmidUp
 

R

RegActivatableAndGoAway - interface com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAway.
 
RegActivatableAndGoAwayImpl - class com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAwayImpl.
 
RegActivatableAndGoAwayImpl(ActivationID, MarshalledObject) - Constructor for class com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAwayImpl
 
RegRemoteAndRenewLease - interface com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLease.
 
RegRemoteAndRenewLeaseImpl - class com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLeaseImpl.
 
RegRemoteAndRenewLeaseImpl() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLeaseImpl
 
RegRemoteAndStayUp - interface com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUp.
 
RegRemoteAndStayUpImpl - class com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUpImpl.
 
RegRemoteAndStayUpImpl() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteAndStayUpImpl
 
RegRemoteUseJoinMgr - interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgr.
 
RegRemoteUseJoinMgrImpl - class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl.
 
RegRemoteUseJoinMgrImpl() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl
 
RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl - class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl.
Class which listens for the announcement of a service ID assignment by the JoinManager
RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl
 
RegRemoteUseLeaseRenewalMgr - interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgr.
 
RegRemoteUseLeaseRenewalMgrImpl - class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl.
 
RegRemoteUseLeaseRenewalMgrImpl() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
 
RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener - class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener.
Class which listens for exceptions from the LeaseRenewalManager
RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener() - Constructor for class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl.LookupLeaseListener
 
RegSerializableAndGoAway - class com.sun.jini.example.basic.ex1.asleep.RegSerializableAndGoAway.
 
RegSerializableAndGoAway() - Constructor for class com.sun.jini.example.basic.ex1.asleep.RegSerializableAndGoAway
 
RegisterAndExpire - class com.sun.jini.example.basic.ex1.event.RegisterAndExpire.
 
RegisterAndExpire() - Constructor for class com.sun.jini.example.basic.ex1.event.RegisterAndExpire
 
RegisterAndExpire.LookupEventListener - class com.sun.jini.example.basic.ex1.event.RegisterAndExpire.LookupEventListener.
Class which handles ALL events sent by the lookup service.
RegisterAndExpire.LookupEventListener() - Constructor for class com.sun.jini.example.basic.ex1.event.RegisterAndExpire.LookupEventListener
 

S

ServiceDeactivator - class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator.
Class which implements the criteria for deactivating an activatable object as defined by the abstract class AbstractDeactivator.
ServiceDeactivator(ActivationID, long, int) - Constructor for class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
Constructor invoked by an activatable object which supplies its own wait interval and 'busy-ness' threshold.
ServiceDeactivator(ActivationID, long) - Constructor for class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
Constructor invoked by an activatable object which supplies only its own wait interval; but lets the 'busy-ness' threshold revert to the default value.
ServiceDeactivator(ActivationID, int) - Constructor for class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
Constructor invoked by an activatable object which supplies only its own 'busy-ness' threshold; but lets the wait interval revert to the default value.
ServiceDeactivator(ActivationID) - Constructor for class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
Constructor invoked by an activatable object which supplies neither a wait interval nor a 'busy-ness' threshold; allowing both to revert to their default values.
SrvcAndEvntExpire - class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire.
 
SrvcAndEvntExpire() - Constructor for class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire
 
SrvcAndEvntExpire.LookupEventListener - class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire.LookupEventListener.
Class which handles ALL events sent by the lookup service Upon the receipt of a ServiceEvent from a lookup service, this class first displays the contents of the handback, then re-registers the service.
SrvcAndEvntExpire.LookupEventListener() - Constructor for class com.sun.jini.example.basic.ex1.event.SrvcAndEvntExpire.LookupEventListener
 
sayHello() - Method in class com.sun.jini.example.basic.ex1.misc.TestService
 
serviceIDNotify(ServiceID) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl.ServiceIDListenerImpl
The JoinManager will invoke this method when it receives a valid ServiceID from a lookup service; passing in that ServiceID so that it may be stored for persistence.
subtract(int, int) - Method in interface com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAway
 
subtract(int, int) - Method in class com.sun.jini.example.basic.ex1.asleep.RegActivatableAndGoAwayImpl
 
subtract(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLease
 
subtract(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteAndRenewLeaseImpl
 
subtract(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgr
 
subtract(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseJoinMgrImpl
 
subtract(int, int) - Method in interface com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgr
 
subtract(int, int) - Method in class com.sun.jini.example.basic.ex1.awake.RegRemoteUseLeaseRenewalMgrImpl
 

T

TestAttribute - class com.sun.jini.example.basic.ex1.attributes.TestAttribute.
 
TestAttribute() - Constructor for class com.sun.jini.example.basic.ex1.attributes.TestAttribute
 
TestAttribute(String) - Constructor for class com.sun.jini.example.basic.ex1.attributes.TestAttribute
 
TestAttribute1 - class com.sun.jini.example.basic.ex1.attributes.TestAttribute1.
 
TestAttribute1() - Constructor for class com.sun.jini.example.basic.ex1.attributes.TestAttribute1
 
TestAttribute1(String) - Constructor for class com.sun.jini.example.basic.ex1.attributes.TestAttribute1
 
TestRmidUp - class com.sun.jini.example.basic.ex1.misc.TestRmidUp.
Simple program that blocks given amount of time until the rmid is up
TestRmidUp() - Constructor for class com.sun.jini.example.basic.ex1.misc.TestRmidUp
 
TestService - class com.sun.jini.example.basic.ex1.misc.TestService.
 
TestService(int) - Constructor for class com.sun.jini.example.basic.ex1.misc.TestService
 

W

waitBeforeDeactivation() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method will wait an amount of time before returning.
waitBeforeDeactivation() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 
wakeDeactivatorThread() - Method in class com.sun.jini.example.basic.ex1.activation.AbstractDeactivator
This method will wake this class' DeactivatorThread from its wait state.
wakeDeactivatorThread() - Method in class com.sun.jini.example.basic.ex1.activation.ServiceDeactivator
 

A C D E H I L M N O P R S T W

Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.