org.codehaus.redback.xmlrpc.service
Class ResourceServiceImpl

java.lang.Object
  extended by org.codehaus.redback.xmlrpc.service.ResourceServiceImpl
All Implemented Interfaces:
ResourceService, Service

@Service
public class ResourceServiceImpl
extends Object
implements ResourceService


Constructor Summary
ResourceServiceImpl(RBACManager rbacManager)
           
 
Method Summary
 Boolean createResource(String identifier)
           
 Resource getResource(String identifier)
           
 List<Resource> getResources()
           
 Boolean ping()
           
 Boolean removeResource(String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceServiceImpl

@Inject
public ResourceServiceImpl(@Named(value="rBACManager#cached")
                                  RBACManager rbacManager)
Method Detail

createResource

public Boolean createResource(String identifier)
                       throws Exception
Specified by:
createResource in interface ResourceService
Throws:
Exception

getResource

public Resource getResource(String identifier)
                     throws Exception
Specified by:
getResource in interface ResourceService
Throws:
Exception

getResources

public List<Resource> getResources()
                            throws Exception
Specified by:
getResources in interface ResourceService
Throws:
Exception

removeResource

public Boolean removeResource(String identifier)
                       throws Exception
Specified by:
removeResource in interface ResourceService
Throws:
Exception

ping

public Boolean ping()
             throws Exception
Specified by:
ping in interface Service
Throws:
Exception


Copyright © 2006-2011 Codehaus. All Rights Reserved.