org.objectweb.perseus.distribution.jgroups
Class JGroupsServiceManager
java.lang.Object
org.objectweb.perseus.distribution.jgroups.JGroupsServiceManager
- BindingController, DistResServiceManager, LifeCycleController
public class JGroupsServiceManager
extends java.lang.Object
Copyright (C) 2003-2004
- France Telecom R&D
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Release: 1.0
Authors: Olivier Lobry (olivier.lobry@rd.francetelecom.com)
SERIALIZER_BINDING
public static final String SERIALIZER_BINDING
state
protected String state
JGroupsServiceManager
public JGroupsServiceManager()
bindFc
public void bindFc(String s,
Object o)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
getFcState
public String getFcState()
listFc
public String[] listFc()
lookupFc
public Object lookupFc(String s)
throws NoSuchInterfaceException
newLocalNode
public Serializable newLocalNode(DistResCoordinatorFactory drcf)
Creates a new (virtual) node on which resources will be used and managed.
As node are virtual, one can create multiple nodes inside a single JVM.
- newLocalNode in interface DistResServiceManager
drcf
- the coordinator factory to use when coordinator creation is
required
- the id of the created node
startFc
public void startFc()
throws IllegalLifeCycleException
stopFc
public void stopFc()
throws IllegalLifeCycleException
stopLocalNode
public void stopLocalNode(Object nodeId)
unbindFc
public void unbindFc(String s)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.