org.ow2.petals.ws
Class ArtifactRepositoryServiceImpl

java.lang.Object
  extended by org.ow2.petals.ws.ArtifactRepositoryServiceImpl
All Implemented Interfaces:
org.ow2.petals.kernel.ws.api.ArtifactRepositoryService, KernelWebService

public class ArtifactRepositoryServiceImpl
extends java.lang.Object
implements KernelWebService, org.ow2.petals.kernel.ws.api.ArtifactRepositoryService

Author:
chamerling - eBM WebSourcing

Constructor Summary
ArtifactRepositoryServiceImpl()
           
 
Method Summary
 boolean addArtifact(org.ow2.petals.kernel.ws.api.to.AttachmentDescriptor descriptor)
           
 org.objectweb.fractal.api.Component getComponent()
          Get the associated fractal component.
 java.lang.String[] getComponents()
           
 java.lang.String[] getServiceAssemblies()
           
 java.lang.String[] getSharedLibraries()
           
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactRepositoryServiceImpl

public ArtifactRepositoryServiceImpl()
Method Detail

start

protected void start()

stop

protected void stop()

getComponent

public org.objectweb.fractal.api.Component getComponent()
Get the associated fractal component. This is used to get the WS interface since for now I do not have other solution to do that... This is as simple as adding that :
 @org.objectweb.fractal.fraclet.annotation.annotations.Service(name = "component")
 private Component component;
 
 public Component getComponent() {
     return this.component;
 }
 
 

Specified by:
getComponent in interface KernelWebService
Returns:

addArtifact

public boolean addArtifact(org.ow2.petals.kernel.ws.api.to.AttachmentDescriptor descriptor)
                    throws org.ow2.petals.kernel.ws.api.PEtALSWebServiceException
Specified by:
addArtifact in interface org.ow2.petals.kernel.ws.api.ArtifactRepositoryService
Throws:
org.ow2.petals.kernel.ws.api.PEtALSWebServiceException

getComponents

public java.lang.String[] getComponents()
Specified by:
getComponents in interface org.ow2.petals.kernel.ws.api.ArtifactRepositoryService

getServiceAssemblies

public java.lang.String[] getServiceAssemblies()
Specified by:
getServiceAssemblies in interface org.ow2.petals.kernel.ws.api.ArtifactRepositoryService

getSharedLibraries

public java.lang.String[] getSharedLibraries()
Specified by:
getSharedLibraries in interface org.ow2.petals.kernel.ws.api.ArtifactRepositoryService


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.