Package com.aspectran.core.adapter
Class DefaultApplicationAdapter
- java.lang.Object
-
- com.aspectran.core.adapter.AbstractApplicationAdapter
-
- com.aspectran.core.adapter.DefaultApplicationAdapter
-
- All Implemented Interfaces:
ApplicationAdapter
public class DefaultApplicationAdapter extends AbstractApplicationAdapter
The Class DefaultApplicationAdapter.- Since:
- 2016. 3. 26.
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationAdapter(java.lang.String basePath, java.lang.ClassLoader classLoader)Instantiates a new DefaultApplicationAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetAttribute(java.lang.String name)Gets the attribute.java.util.Enumeration<java.lang.String>getAttributeNames()Gets the attribute names.voidremoveAttribute(java.lang.String name)Removes the attribute.voidsetAttribute(java.lang.String name, java.lang.Object value)Sets the attribute.-
Methods inherited from class com.aspectran.core.adapter.AbstractApplicationAdapter
getBasePath, getClassLoader, toRealPath, toRealPathAsFile
-
-
-
-
Method Detail
-
getAttribute
public <T> T getAttribute(java.lang.String name)
Description copied from interface:ApplicationAdapterGets the attribute.- Type Parameters:
T- the generic type- Parameters:
name- the name- Returns:
- the attribute
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value)Description copied from interface:ApplicationAdapterSets the attribute.- Parameters:
name- the namevalue- the value
-
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
Description copied from interface:ApplicationAdapterGets the attribute names.- Returns:
- the attribute names
-
removeAttribute
public void removeAttribute(java.lang.String name)
Description copied from interface:ApplicationAdapterRemoves the attribute.- Parameters:
name- the name
-
-