Tabnine Logo
DeployableUnitID.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javax.slee.management.DeployableUnitID
constructor

Best Java code snippets using javax.slee.management.DeployableUnitID.<init> (Showing top 5 results out of 315)

origin: org.mobicents.servers.jainslee.core/jmx-property-editors

public void setAsText(String text) throws IllegalArgumentException {
  try {
    String prefix = "DeployableUnitID[url=";
    if (text.startsWith(prefix) && text.charAt(text.length()-1) == ']') {
      this.setValue(new DeployableUnitID(text.substring(prefix.length(),text.length()-1)));
      return;
    }
    throw new IllegalArgumentException("Must be DeployableUnitID[url=X] where X is the du original URL");
  } catch (Throwable ex) {
    throw new IllegalArgumentException("Must be DeployableUnitID[url=X] where X is the du original URL",ex);
  }
}
 
origin: org.mobicents.servers.jainslee.core/common

@Override
public void invoke() throws Exception {
  getDeploymentMBean().uninstall(new DeployableUnitID(getDuURL()));
}
origin: org.mobicents.servers.jainslee.core/common

public DeployableUnitID getDeployableUnit(String deploymentUrl)
    throws NullPointerException, UnrecognizedDeployableUnitException,
    ManagementException {
  DeployableUnitID deployableUnitID = new DeployableUnitID(deploymentUrl);
  boolean duExists = true;
  try {
    if (getSleeContainer().getDeployableUnitManagement()
        .getDeployableUnit(deployableUnitID) == null) {
      duExists = false;
    }
  } catch (Throwable e) {
    throw new ManagementException(e.getMessage(), e);
  }
  if (duExists) {
    return deployableUnitID;
  } else {
    throw new UnrecognizedDeployableUnitException(deploymentUrl);
  }
}
origin: org.mobicents.servers.jainslee.core/components

DeployableUnitID deployableUnitID = new DeployableUnitID(url);
origin: org.mobicents.servers.jainslee.core/common

DeployableUnitID deployableUnitID = new DeployableUnitID(url);
javax.slee.managementDeployableUnitID<init>

Popular methods of DeployableUnitID

  • equals
  • getURL
  • hashCode
  • toString

Popular in Java

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JTable (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now