|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.mahalo.TxnMgrAdminProxy
class TxnMgrAdminProxy
A TxnMgrAdminProxy is a client-side proxy for a mailbox service. This interface provides access to the administrative functions of the mailbox service as defined by the TxnMgrAdmin interface.
Nested Class Summary | |
---|---|
(package private) static class |
TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy
|
Field Summary | |
---|---|
(package private) Uuid |
proxyID
The backend's service ID |
private static long |
serialVersionUID
|
(package private) TxnManager |
server
The backend server reference |
Constructor Summary | |
---|---|
private |
TxnMgrAdminProxy(TxnManager server,
Uuid serviceProxyID)
Simple constructor. |
Method Summary | |
---|---|
void |
addLookupAttributes(Entry[] attrSets)
Add attribute sets for the service. |
void |
addLookupGroups(String[] groups)
Add new groups to the set to join. |
void |
addLookupLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join. |
(package private) static TxnMgrAdminProxy |
create(TxnManager txnMgr,
Uuid id)
Creates an administrable transaction manager proxy, returning an instance that implements RemoteMethodControl if the server does too. |
void |
destroy()
Destroy the service, if possible, including its persistent storage. |
boolean |
equals(Object o)
Proxies for servers with the same ID are considered equal. |
Entry[] |
getLookupAttributes()
Get the current attribute sets for the service. |
String[] |
getLookupGroups()
Get the list of groups to join. |
LookupLocator[] |
getLookupLocators()
Get the list of locators of specific lookup services to join. |
Uuid |
getReferentUuid()
Returns the universally unique identifier that has been assigned to the resource this proxy represents. |
int |
hashCode()
|
void |
modifyLookupAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modify the current attribute sets, using the same semantics as ServiceRegistration.modifyAttributes. |
private void |
readObject(ObjectInputStream s)
When an instance of this class is deserialized, this method is automatically invoked. |
private void |
readObjectNoData()
During deserialization of an instance of this class, if it is found that the stream contains no data, this method is automatically invoked. |
void |
removeLookupGroups(String[] groups)
Remove groups from the set to join. |
void |
removeLookupLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join. |
void |
setLookupGroups(String[] groups)
Replace the list of groups to join with a new list. |
void |
setLookupLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join with a new list. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
final TxnManager server
final Uuid proxyID
Constructor Detail |
---|
private TxnMgrAdminProxy(TxnManager server, Uuid serviceProxyID)
Method Detail |
---|
static TxnMgrAdminProxy create(TxnManager txnMgr, Uuid id)
txnMgr
- the server proxyid
- the ID of the serverpublic Entry[] getLookupAttributes() throws RemoteException
JoinAdmin
getLookupAttributes
in interface JoinAdmin
RemoteException
public void addLookupAttributes(Entry[] attrSets) throws RemoteException
JoinAdmin
addLookupAttributes
in interface JoinAdmin
attrSets
- the attribute sets to add
RemoteException
public void modifyLookupAttributes(Entry[] attrSetTemplates, Entry[] attrSets) throws RemoteException
JoinAdmin
modifyLookupAttributes
in interface JoinAdmin
attrSetTemplates
- the templates for matching attribute setsattrSets
- the modifications to make to matching sets
RemoteException
ServiceRegistration.modifyAttributes(net.jini.core.entry.Entry[], net.jini.core.entry.Entry[])
public String[] getLookupGroups() throws RemoteException
JoinAdmin
getLookupGroups
in interface JoinAdmin
RemoteException
JoinAdmin.setLookupGroups(java.lang.String[])
public void addLookupGroups(String[] groups) throws RemoteException
JoinAdmin
addLookupGroups
in interface JoinAdmin
groups
- groups to join
RemoteException
JoinAdmin.removeLookupGroups(java.lang.String[])
public void removeLookupGroups(String[] groups) throws RemoteException
JoinAdmin
removeLookupGroups
in interface JoinAdmin
groups
- groups to leave
RemoteException
JoinAdmin.addLookupGroups(java.lang.String[])
public void setLookupGroups(String[] groups) throws RemoteException
JoinAdmin
setLookupGroups
in interface JoinAdmin
groups
- groups to join
RemoteException
JoinAdmin.getLookupGroups()
public LookupLocator[] getLookupLocators() throws RemoteException
JoinAdmin
getLookupLocators
in interface JoinAdmin
RemoteException
JoinAdmin.setLookupLocators(net.jini.core.discovery.LookupLocator[])
public void addLookupLocators(LookupLocator[] locators) throws RemoteException
JoinAdmin
addLookupLocators
in interface JoinAdmin
locators
- locators of specific lookup services to join
RemoteException
JoinAdmin.removeLookupLocators(net.jini.core.discovery.LookupLocator[])
public void removeLookupLocators(LookupLocator[] locators) throws RemoteException
JoinAdmin
removeLookupLocators
in interface JoinAdmin
locators
- locators of specific lookup services to leave
RemoteException
JoinAdmin.addLookupLocators(net.jini.core.discovery.LookupLocator[])
public void setLookupLocators(LookupLocator[] locators) throws RemoteException
JoinAdmin
setLookupLocators
in interface JoinAdmin
locators
- locators of specific lookup services to join
RemoteException
JoinAdmin.getLookupLocators()
public void destroy() throws RemoteException
DestroyAdmin
destroy
in interface DestroyAdmin
RemoteException
public Uuid getReferentUuid()
getReferentUuid
in interface ReferentUuid
Uuid
that is associated with the
resource this proxy represents. This method will not return
null
.ReferentUuid
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the state of the
deserialized instance of this class is found to be invalid.
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
InvalidObjectException
- to indicate that there
was no data in the stream during deserialization of an
instance of this class; declaring that something is wrong.
ObjectStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |