Example usage for javax.naming CompoundName CompoundName

List of usage examples for javax.naming CompoundName CompoundName

Introduction

In this page you can find the example usage for javax.naming CompoundName CompoundName.

Prototype

public CompoundName(String n, Properties syntax) throws InvalidNameException 

Source Link

Document

Constructs a new compound name instance by parsing the string n using the syntax specified by the syntax properties supplied.

Usage

From source file:com.dattack.naming.DefaultNameParser.java

@Override
public Name parse(final String name) throws InvalidNameException, NamingException {

    return new CompoundName(StringUtils.trimToEmpty(name), properties);
}