Update of /cvsroot/openbus/Openbus/OpenbusJBI/src/java/org/openbus/jbi/management
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23990/src/java/org/openbus/jbi/management
Added Files:
JMXEnvironment.java ManagementException.java
Log Message:
Adding more installation code
--- NEW FILE: JMXEnvironment.java ---
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openbus.jbi.management;
import javax.management.ObjectName;
/**
*
*
* @author <a href="mailto:es...@op...">Esteban Sancho </a>
*/
public interface JMXEnvironment {
ObjectName createObjectName(String name_) throws ManagementException;
void registerMBean(ObjectName name_, Object object_)
throws ManagementException;
boolean isMBeanRegistered(ObjectName objectName_)
throws ManagementException;
Object getMBean(ObjectName objectName_) throws ManagementException;
ObjectName unregisterMBean(ObjectName objectName_)
throws ManagementException;
}
--- NEW FILE: ManagementException.java ---
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openbus.jbi.management;
import org.openbus.commons.exceptions.OpenbusException;
/**
*
*
* @author <a href="mailto:es...@op...">Esteban Sancho</a>
*/
public class ManagementException extends OpenbusException {
/**
*
*/
public ManagementException() {
super();
// @todo Auto-generated constructor stub
}
/**
* @param arg0_
*/
public ManagementException(String arg0_) {
super(arg0_);
// @todo Auto-generated constructor stub
}
/**
* @param arg0_
* @param arg1_
*/
public ManagementException(String arg0_, Throwable arg1_) {
super(arg0_, arg1_);
// @todo Auto-generated constructor stub
}
/**
* @param arg0_
*/
public ManagementException(Throwable arg0_) {
super(arg0_);
// @todo Auto-generated constructor stub
}
}
|