net.sourceforge.blogentis.slide
Class SecurityAdapterStore
java.lang.Object
org.apache.slide.common.AbstractServiceBase
org.apache.slide.common.AbstractXAService
net.sourceforge.blogentis.slide.SecurityAdapterStore
- All Implemented Interfaces:
- org.apache.slide.store.SecurityStore, org.apache.slide.common.Service, javax.transaction.xa.XAResource
- public class SecurityAdapterStore
- extends org.apache.slide.common.AbstractXAService
- implements org.apache.slide.store.SecurityStore
- Author:
- abas
Fields inherited from class org.apache.slide.common.AbstractServiceBase |
LOG_CHANNEL, namespace, scope |
Fields inherited from interface javax.transaction.xa.XAResource |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Methods inherited from class org.apache.slide.common.AbstractServiceBase |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, initialize, setNamespace, setScope |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.slide.common.Service |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, initialize, setNamespace, setScope |
SecurityAdapterStore
public SecurityAdapterStore()
setParameters
public void setParameters(java.util.Hashtable parameters)
throws org.apache.slide.common.ServiceParameterErrorException,
org.apache.slide.common.ServiceParameterMissingException
- Specified by:
setParameters
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceParameterErrorException
org.apache.slide.common.ServiceParameterMissingException
connect
public void connect()
throws org.apache.slide.common.ServiceConnectionFailedException
- Specified by:
connect
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceConnectionFailedException
disconnect
public void disconnect()
throws org.apache.slide.common.ServiceDisconnectionFailedException
- Specified by:
disconnect
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceDisconnectionFailedException
reset
public void reset()
throws org.apache.slide.common.ServiceResetFailedException
- Specified by:
reset
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceResetFailedException
isConnected
public boolean isConnected()
throws org.apache.slide.common.ServiceAccessException
- Specified by:
isConnected
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceAccessException
getTransactionTimeout
public int getTransactionTimeout()
throws javax.transaction.xa.XAException
- Specified by:
getTransactionTimeout
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
setTransactionTimeout
public boolean setTransactionTimeout(int arg0)
throws javax.transaction.xa.XAException
- Specified by:
setTransactionTimeout
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
isSameRM
public boolean isSameRM(javax.transaction.xa.XAResource arg0)
throws javax.transaction.xa.XAException
- Specified by:
isSameRM
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
recover
public javax.transaction.xa.Xid[] recover(int arg0)
throws javax.transaction.xa.XAException
- Specified by:
recover
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
prepare
public int prepare(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
prepare
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
forget
public void forget(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
forget
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
rollback
public void rollback(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
rollback
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
end
public void end(javax.transaction.xa.Xid arg0,
int arg1)
throws javax.transaction.xa.XAException
- Specified by:
end
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
start
public void start(javax.transaction.xa.Xid arg0,
int arg1)
throws javax.transaction.xa.XAException
- Specified by:
start
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
commit
public void commit(javax.transaction.xa.Xid arg0,
boolean arg1)
throws javax.transaction.xa.XAException
- Specified by:
commit
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
grantPermission
public void grantPermission(org.apache.slide.common.Uri uri,
org.apache.slide.security.NodePermission permission)
throws org.apache.slide.common.ServiceAccessException
- Specified by:
grantPermission
in interface org.apache.slide.store.SecurityStore
- Throws:
org.apache.slide.common.ServiceAccessException
revokePermission
public void revokePermission(org.apache.slide.common.Uri uri,
org.apache.slide.security.NodePermission permission)
throws org.apache.slide.common.ServiceAccessException
- Specified by:
revokePermission
in interface org.apache.slide.store.SecurityStore
- Throws:
org.apache.slide.common.ServiceAccessException
revokePermissions
public void revokePermissions(org.apache.slide.common.Uri uri)
throws org.apache.slide.common.ServiceAccessException
- Specified by:
revokePermissions
in interface org.apache.slide.store.SecurityStore
- Throws:
org.apache.slide.common.ServiceAccessException
enumeratePermissions
public java.util.Enumeration enumeratePermissions(org.apache.slide.common.Uri uri)
throws org.apache.slide.common.ServiceAccessException
- Specified by:
enumeratePermissions
in interface org.apache.slide.store.SecurityStore
- Throws:
org.apache.slide.common.ServiceAccessException
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.